Fix for Issue #6 where terrain is uninitialized

This commit is contained in:
Paul Vincent Craven
2019-07-12 10:47:57 -05:00
parent 13129f0681
commit f03c3cf3ba

View File

@@ -483,6 +483,7 @@ def _parse_tiles(
except KeyError:
pass
terrain = None
try:
tile_terrain_attrib = tile_element.attrib["terrain"]
except KeyError: