From 51d156c7b93bf13db257c7e983ce9c1453233052 Mon Sep 17 00:00:00 2001 From: wushin Date: Tue, 20 Dec 2016 09:31:01 -0600 Subject: Unify script_warp into warps --- hercules/tmx_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([ -- cgit v1.2.3-70-g09d2