summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhercules/tmx_converter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index 3e8dc16..8a34a06 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -423,6 +423,7 @@ class ContentHandler(xml.sax.ContentHandler):
)
self.mob_cnt = True
elif isinstance(obj, Save):
+ """
obj_name = "%s_%s_%s" % (self.base, obj.x, obj.y)
self.confs.write(
SEPARATOR.join([
@@ -432,6 +433,8 @@ class ContentHandler(xml.sax.ContentHandler):
])
)
self.save_cnt = True
+ """
+ print("[WARNING] Object type \"Save\" is deprecated!")
elif isinstance(obj, Warp):
if (obj.npc_id == u'WARP'):
obj_name = "#%s_%s_%s" % (self.base, obj.x, obj.y)