Fix Desert Wall pre-opened logic for the portal re-factor

This commit is contained in:
aerinon
2020-12-15 12:18:32 -07:00
parent 91b5380e3a
commit 2a05e94970
4 changed files with 6 additions and 2 deletions

View File

@@ -488,6 +488,7 @@ def connect_portal(portal, world, player):
chosen_door = world.get_door(portal_entrance.name, player)
chosen_door.blocked = False
connect_door_only(world, chosen_door, portal_region, player)
portal_entrance.parent_region.entrances.append(edit_entrance)
# todo: remove this?
@@ -505,6 +506,7 @@ def connect_portal_copy(portal, world, player):
chosen_door = world.get_door(portal_entrance.name, player)
chosen_door.blocked = False
connect_door_only(world, chosen_door, portal_region, player)
portal_entrance.parent_region.entrances.append(edit_entrance)
def find_portal_candidates(door_list, dungeon, need_passage=False, dead_end_allowed=False, crossed=False, bk_shuffle=False):