Fix Swamp Portal check

This commit is contained in:
Catobat
2021-07-08 00:58:58 +02:00
parent 11dcc719fb
commit 86a19249ab

View File

@@ -467,8 +467,8 @@ def choose_portals(world, player):
world.get_room(0xd5, player).change(0, DoorKind.DungeonEntrance)
if not world.swamp_patch_required[player]:
swamp_region = world.get_entrance('Swamp Palace', player).connected_region
if swamp_region.name != 'Swamp Lobby':
swamp_portal = world.get_portal('Swamp', player)
if swamp_portal.door.name != 'Swamp Lobby S':
world.swamp_patch_required[player] = True