diff options
Diffstat (limited to 'tmx_converter.py')
-rwxr-xr-x | tmx_converter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmx_converter.py b/tmx_converter.py index 0e60134..c6b4e52 100755 --- a/tmx_converter.py +++ b/tmx_converter.py @@ -76,6 +76,7 @@ class Object(object): #'map', 'x', 'y', 'w', 'h', + 'ignore', ) class Mob(Object): __slots__ = ( @@ -264,6 +265,8 @@ class ContentHandler(xml.sax.ContentHandler): print('</%s>' % name) if name == u'object': + if hasattr(self.object, 'ignore'): + return; obj = self.object if isinstance(obj, Mob): mob_id = obj.monster_id |