fix: ellipse name = type

This commit is contained in:
Benjamin Kirkbride
2020-05-31 00:26:53 -04:00
parent b6812e56b5
commit 8b4b2eb4fd

View File

@@ -220,7 +220,7 @@ def _get_common_attributes(raw_tiled_object: RawTiledObject) -> TiledObject:
common_attributes.name = raw_tiled_object["name"]
if raw_tiled_object.get("type"):
common_attributes.name = raw_tiled_object["type"]
common_attributes.type = raw_tiled_object["type"]
if raw_tiled_object.get("properties"):
raise NotImplementedError