mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-01-23 10:51:50 +01:00
fix: ellipse name = type
This commit is contained in:
@@ -220,7 +220,7 @@ def _get_common_attributes(raw_tiled_object: RawTiledObject) -> TiledObject:
|
|||||||
common_attributes.name = raw_tiled_object["name"]
|
common_attributes.name = raw_tiled_object["name"]
|
||||||
|
|
||||||
if raw_tiled_object.get("type"):
|
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"):
|
if raw_tiled_object.get("properties"):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|||||||
Reference in New Issue
Block a user