X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fimpl.py;h=ea4893f42dacfaf91cc1b7bcc0693400d2d27d8e;hp=d6753e3aafb78a3c778868fe1fecd72156138970;hb=66792ffbd26da7a4093707c58ca352dea52f643c;hpb=4aea8f4247626c42d3ca429f97aa1e23c3aa3f74 diff --git a/bulletml/impl.py b/bulletml/impl.py index d6753e3..ea4893f 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -120,8 +120,7 @@ class Action(object): action = self.actions[self.pc] if isinstance(action, (parser.ActionDef, parser.ActionRef)): - actions, params = action(s_params, rank) - child = self.__class__(self, actions, params, rank) + child = self.Child(action, s_params, rank) owner.replace(self, child) child.step(owner, created) break