Fix issue with inverted dungeon names on entrance data table.
This commit is contained in:
parent
99d596540f
commit
d95a16a09e
5
Main.py
5
Main.py
|
@ -314,7 +314,10 @@ def main(args, seed=None):
|
||||||
for location in [loc for loc in world.get_filled_locations() if type(loc.address) is int]:
|
for location in [loc for loc in world.get_filled_locations() if type(loc.address) is int]:
|
||||||
main_entrance = get_entrance_to_region(location.parent_region)
|
main_entrance = get_entrance_to_region(location.parent_region)
|
||||||
if location.parent_region.dungeon:
|
if location.parent_region.dungeon:
|
||||||
checks_in_area[location.player][location.parent_region.dungeon.name].append(location.address)
|
dungeonname = {'Inverted Agahnims Tower': 'Agahnims Tower',
|
||||||
|
'Inverted Ganons Tower': 'Ganons Tower'}\
|
||||||
|
.get(location.parent_region.dungeon.name, location.parent_region.dungeon.name)
|
||||||
|
checks_in_area[location.player][dungeonname].append(location.address)
|
||||||
elif main_entrance.parent_region.type == RegionType.LightWorld:
|
elif main_entrance.parent_region.type == RegionType.LightWorld:
|
||||||
checks_in_area[location.player]["Light World"].append(location.address)
|
checks_in_area[location.player]["Light World"].append(location.address)
|
||||||
elif main_entrance.parent_region.type == RegionType.DarkWorld:
|
elif main_entrance.parent_region.type == RegionType.DarkWorld:
|
||||||
|
|
Loading…
Reference in New Issue