Skip to content

Commit

Permalink
Actually make UT work
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright committed Aug 10, 2024
1 parent de77886 commit 55a51ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion worlds/tunic/er_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,10 @@ def too_few_portals_for_direction_pairs(direction: int, offset: int) -> bool:
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()
Expand Down

0 comments on commit 55a51ac

Please sign in to comment.