diff --git a/EntranceShuffle.py b/EntranceShuffle.py index 004004a4..a43b3cc7 100644 --- a/EntranceShuffle.py +++ b/EntranceShuffle.py @@ -1912,7 +1912,7 @@ def connect_mandatory_exits(world, entrances, caves, must_be_exits, player): if world.logic in ['owglitches', 'nologic']: import OverworldGlitchRules - for entrance in OverworldGlitchRules.get_non_mandatory_exits(world.mode[player] == 'inverted'): + for entrance in OverworldGlitchRules.get_non_mandatory_exits(world.mode == 'inverted'): invalid_connections[entrance] = set() if entrance in must_be_exits: must_be_exits.remove(entrance) diff --git a/Main.py b/Main.py index 41093dbb..c14bad00 100644 --- a/Main.py +++ b/Main.py @@ -241,7 +241,7 @@ def copy_world(world): ret.boss_shuffle = world.boss_shuffle for player in range(1, world.players + 1): - if world.mode[player] != 'inverted': + if world.mode != 'inverted': create_regions(ret, player) else: create_inverted_regions(ret, player)