From 55a51acb5ba20ba08216eb4ad118b754e54791f0 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Sat, 10 Aug 2024 19:29:47 -0400 Subject: [PATCH] Actually make UT work --- worlds/tunic/er_scripts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/worlds/tunic/er_scripts.py b/worlds/tunic/er_scripts.py index 6ab8275d44..e1a63060ef 100644 --- a/worlds/tunic/er_scripts.py +++ b/worlds/tunic/er_scripts.py @@ -320,7 +320,10 @@ def pair_portals(world: "TunicWorld", regions: Dict[str, Region]) -> Dict[Portal portal_name1 = "Shop Portal " + str(portal1).split(", ")[1].split("_")[0] if not portal_name2 and portal2.startswith("Shop"): portal_name2 = "Shop Portal " + str(portal2).split(", ")[1].split("_")[0] - plando_connections.append(PlandoConnection(portal_name1, portal_name2, "both")) + if world.options.decoupled: + plando_connections.append(PlandoConnection(portal_name1, portal_name2, "entrance")) + else: + plando_connections.append(PlandoConnection(portal_name1, portal_name2, "both")) # put together the list of non-deadend regions non_dead_end_regions = set()