Fixing import.py for python 3

This commit is contained in:
bernatx 2021-07-29 23:28:04 +02:00 committed by bernat
parent d40f787e68
commit 2d717a958e
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ def import_assets(package_name, json_dirname, props, maps, do_tiles, tile_size,
for umap in maps:
# import groups of tiles to prevent unreal from using too much memory
map_template = {}
for key, value in umap.iteritems():
for key, value in iter(umap.items()):
if key is not 'tiles':
map_template[key] = value
map_template['tiles'] = []