X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fparser.py;h=187fa86e7df4dc5f866abd741c4939f9b62c7579;hp=529876b449af43932677d2c3bf5980ce3bef446b;hb=181030a9517b3742250dadbf6df7ed633b50831e;hpb=b246fe5b1c35b4d0a189e7c28597927e6e5241e8 diff --git a/bulletml/parser.py b/bulletml/parser.py index 529876b..187fa86 100644 --- a/bulletml/parser.py +++ b/bulletml/parser.py @@ -205,9 +205,9 @@ class BulletDef(object): elif tag == "speed": self.speed = Speed(doc, subelem) elif tag == "action": - self.actions.append(ActionDef(doc, element)) + self.actions.append(ActionDef(doc, subelem)) elif tag == "actionRef": - self.actions.append(ActionRef(doc, element)) + self.actions.append(ActionRef(doc, subelem)) def __call__(self, params, rank): actions = []