Fix secret gathering place issue

This commit is contained in:
Scipio Wright
2024-07-15 14:01:43 -04:00
committed by GitHub
parent 19dbe860c9
commit aecf3c8257

View File

@@ -265,6 +265,9 @@ def pair_portals(world: "TunicWorld", regions: Dict[str, Region]) -> Dict[Portal
for connection in plando_connections:
p_entrance = connection.entrance
p_exit = connection.exit
# if you plando secret gathering place, need to know that during portal pairing
if "Secret Gathering Place Exit" in [p_entrance, p_exit]:
waterfall_plando = True
portal1_dead_end = True
portal2_dead_end = True
@@ -354,7 +357,6 @@ def pair_portals(world: "TunicWorld", regions: Dict[str, Region]) -> Dict[Portal
else:
raise Exception(f"{player_name} paired a dead end to a dead end in their "
"plando connections.")
waterfall_plando = True
portal_pairs[portal1] = portal2
# if we have plando connections, our connected regions may change somewhat