summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2016-12-20 09:31:01 -0600
committerwushin <pasekei@gmail.com>2016-12-20 09:31:01 -0600
commit51d156c7b93bf13db257c7e983ce9c1453233052 (patch)
treebdff55c36878ae57e2d611b705c313529668c099
parent0d25a838098082aaff8bd05224ad70d906fef0ac (diff)
downloadevol-tools-51d156c7b93bf13db257c7e983ce9c1453233052.tar.gz
evol-tools-51d156c7b93bf13db257c7e983ce9c1453233052.tar.bz2
evol-tools-51d156c7b93bf13db257c7e983ce9c1453233052.tar.xz
evol-tools-51d156c7b93bf13db257c7e983ce9c1453233052.zip
Unify script_warp into warps
-rwxr-xr-xhercules/tmx_converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index 6cc8329..5c60221 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -313,7 +313,7 @@ class ContentHandler(xml.sax.ContentHandler):
])
)
self.warp_cnt = True
- else:
+ elif (not obj.npc_id == u'SCRIPT'):
obj_name = "#%s_%s_%s" % (self.base, obj.x, obj.y)
self.warps.write(
SEPARATOR.join([