summaryrefslogtreecommitdiff
path: root/tmx_converter.py
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-07-05 12:25:49 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-07-05 12:30:10 -0700
commit338235a4326d35ac4434bec95932a7b4f8e988d9 (patch)
tree64ec0b5f0ef8c7f1af743e4ff1d7156dc508b386 /tmx_converter.py
parent9c8e68f8923194d5cb2d0337227deacdf9f867bf (diff)
downloadtools-338235a4326d35ac4434bec95932a7b4f8e988d9.tar.gz
tools-338235a4326d35ac4434bec95932a7b4f8e988d9.tar.bz2
tools-338235a4326d35ac4434bec95932a7b4f8e988d9.tar.xz
tools-338235a4326d35ac4434bec95932a7b4f8e988d9.zip
Move starting brace to new line
Diffstat (limited to 'tmx_converter.py')
-rwxr-xr-xtmx_converter.py2
1 files changed, 1 insertions, 1 deletions
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')