Fix standard_stair_check

This commit is contained in:
aerinon
2021-05-05 14:22:45 -06:00
parent 7a94f4ba3a
commit b0098b623c

View File

@@ -1266,7 +1266,7 @@ def create_dungeon_builders(all_sectors, connections_tuple, world, player,
reverse_d_map[sector] = key
if world.mode[player] == 'standard':
current_dungeon = dungeon_map['Hyrule Castle']
standard_stair_check(world, dungeon_map, current_dungeon, candidate_sectors, global_pole)
standard_stair_check(dungeon_map, current_dungeon, candidate_sectors, global_pole)
complete_dungeons = {x: y for x, y in dungeon_map.items() if sum(len(sector.outstanding_doors) for sector in y.sectors) <= 0}
[dungeon_map.pop(key) for key in complete_dungeons.keys()]