mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-26 17:02:28 +01:00
@@ -317,7 +317,7 @@ def _parse_objects(
|
||||
pass
|
||||
|
||||
try:
|
||||
tiled_object.rotation = int(object_element.attrib["rotation"])
|
||||
tiled_object.rotation = float(object_element.attrib["rotation"])
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user