From 6ff039e67a41ba5b1d82d9a402478f73d7a1de70 Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Sat, 31 Oct 2020 10:20:00 +1100 Subject: [PATCH] Fix some more multiworld conflict issues --- EntranceShuffle.py | 2 +- Main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)