From 338235a4326d35ac4434bec95932a7b4f8e988d9 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 5 Jul 2013 12:25:49 -0700 Subject: Move starting brace to new line --- tmx_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmx_converter.py b/tmx_converter.py index 94cf0b2..009a114 100755 --- a/tmx_converter.py +++ b/tmx_converter.py @@ -289,7 +289,7 @@ class ContentHandler(xml.sax.ContentHandler): self.state = State.FINAL def endDocument(self): - self.mobs.write('\n\n%s.gat,0,0,0|script|Mob%s|-1,{\n' % (self.base, self.base)) + self.mobs.write('\n\n%s.gat,0,0,0|script|Mob%s|-1,\n{\n' % (self.base, self.base)) for mob_id in sorted(self.mob_ids): self.mobs.write('On%d:\n set @mobID, %d;\n callfunc "MobPoints";\n end;\n\n' % (mob_id, mob_id)) self.mobs.write(' end;\n}\n') -- cgit v1.2.3-70-g09d2