From 181030a9517b3742250dadbf6df7ed633b50831e Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Tue, 16 Mar 2010 00:30:30 -0700 Subject: [PATCH] ActionDef: Append based on parsing the subelement, not the element. --- bulletml/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = [] -- 2.30.2