X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fimpl.py;h=af3f153906eed6c1f7180e37d622a0749ddc9d3d;hp=cc693e15cea69f02af60a6e9c60e082a2b5dbe6f;hb=5f93dc227463ac9a34bfe4d06b67b7d07bfb12cc;hpb=dd06ecce6efd9815f6ff09f2a985738dd699288d diff --git a/bulletml/impl.py b/bulletml/impl.py index cc693e1..af3f153 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -264,10 +264,12 @@ class Bullet(object): @property def finished(self): """Check if this bullet is finished running.""" + if not self.vanished: + return False for action in self.actions: if not action.finished: return False - return self.vanished + return True def vanish(self): """Vanish this bullet and stop all actions."""