projects
/
python-bulletml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bullet.step: Need to re-check finished in a second action iteration in case an action...
[python-bulletml.git]
/
bulletml
/
impl.py
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index
a2e8dec
..
0c40f1e
100644
(file)
--- a/
bulletml/impl.py
+++ b/
bulletml/impl.py
@@
-223,6
+223,9
@@
class Bullet(object):
for action in self.actions:
action.step(self, created)
finished = finished and action.finished
for action in self.actions:
action.step(self, created)
finished = finished and action.finished
+ if finished:
+ for action in self.actions:
+ finished = finished and action.finished
self.finished = finished
speed = self.speed
self.finished = finished
speed = self.speed