X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fimpl.py;fp=bulletml%2Fimpl.py;h=d6753e3aafb78a3c778868fe1fecd72156138970;hp=f0e8964d806351cd9a2e876db194730da44bc4f9;hb=4aea8f4247626c42d3ca429f97aa1e23c3aa3f74;hpb=bf5ff1d116840e1330c80894132919ec515596e4 diff --git a/bulletml/impl.py b/bulletml/impl.py index f0e8964..d6753e3 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -48,7 +48,8 @@ class Action(object): return "%s(pc=%r, actions=%r)" % ( type(self).__name__, self.pc, self.actions) - def Child(self, actions, params, rank, repeat=1): + def Child(self, action, params, rank, repeat=1): + actions, params = action(params, rank) return type(self)(self, actions, params, rank, repeat) def vanish(self):