From: Joe Wreschnig Date: Thu, 18 Mar 2010 08:40:09 +0000 (-0700) Subject: Wait: Actually don't do anything special for wait frames of 0, as break-now-continue... X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=commitdiff_plain;h=bbceff0f5dafcfc18237d391da56790b57b74eee Wait: Actually don't do anything special for wait frames of 0, as break-now-continue-immediately-next-frame is useful. --- diff --git a/bulletml/impl.py b/bulletml/impl.py index 8508896..0548b9d 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -245,8 +245,7 @@ class Action(object): elif isinstance(action, parser.Wait): self.wait_frames = action(s_params, rank) - if self.wait_frames: - break + break elif isinstance(action, parser.Vanish): owner.vanish()