From 4c64c8e05ac3b3c452255a4987bd67a2892a8007 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sat, 24 Apr 2010 01:55:18 -0700 Subject: [PATCH] Bullet.step: Need to re-check finished in a second action iteration in case an action replaced itself with its parent. --- bulletml/impl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bulletml/impl.py b/bulletml/impl.py index a2e8dec..0c40f1e 100644 --- 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 + if finished: + for action in self.actions: + finished = finished and action.finished self.finished = finished speed = self.speed -- 2.20.1