We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2b8b91 + db22f6a commit c88c3ccCopy full SHA for c88c3cc
1 file changed
pytiled_parser/parsers/tmx/tiled_map.py
@@ -60,7 +60,7 @@ def parse(file: Path) -> TiledMap:
60
)
61
62
layers = []
63
- for element in raw_map.iter():
+ for element in raw_map.findall("./*"):
64
if element.tag in ["layer", "objectgroup", "imagelayer", "group"]:
65
layers.append(parse_layer(element, parent_dir))
66
0 commit comments