0

Specifying a dimension in a config file now works

This commit is contained in:
Andrew Chin
2012-01-27 20:30:58 -05:00
parent c29c983a79
commit 96602a48d4
4 changed files with 39 additions and 8 deletions

View File

@@ -85,8 +85,9 @@ directory.
# based on the tilesets we have, group them by worlds
worlds = []
for tileset in tilesets:
if tileset.options.get('worldname_orig') not in worlds:
worlds.append(tileset.options.get('worldname_orig'))
full_name = tileset.get_persistent_data()['world']
if full_name not in worlds:
worlds.append(full_name)
dump['worlds'] = worlds
dump['map'] = dict()