X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fparser.py;h=8bea044914be3701d9edf6d99bc447a7cea23fd6;hp=0af66943893632fedcd3f5dac68a7defc216cb75;hb=a7295f6fd71242322dd1bad19a90462c188f153f;hpb=9104092535823794c1b00f3c0fb16f5181992a00 diff --git a/bulletml/parser.py b/bulletml/parser.py index 0af6694..8bea044 100644 --- a/bulletml/parser.py +++ b/bulletml/parser.py @@ -181,10 +181,8 @@ class Accel(object): def __call__(self, params, rank): frames = self.term(params, rank) - horizontal = self.horizontal and ( - self.horizontal(params, rank), self.horizontal.type) - vertical = self.vertical and ( - self.vertical(params, rank), self.vertical.type) + horizontal = self.horizontal and self.horizontal(params, rank) + vertical = self.vertical and self.vertical(params, rank) return frames, horizontal, vertical def __repr__(self):