From 64229aead46f8f1f02eca387d26a10a572259932 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Jul 2020 21:55:57 -0300 Subject: Deprecate save point object --- hercules/tmx_converter.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3-70-g09d2