TUNIC: Some cleanup (#3115)

This commit is contained in:
Scipio Wright
2024-04-13 20:06:06 -04:00
committed by GitHub
parent 3d5c21cec5
commit fb3035a78b
5 changed files with 13 additions and 13 deletions

View File

@@ -991,7 +991,7 @@ def set_er_region_rules(world: "TunicWorld", ability_unlocks: Dict[str, int], re
# connecting the regions portals are in to other portals you can access via ladder storage
# using has_stick instead of can_ladder_storage since it's already checking the logic rules
if options.logic_rules == "unrestricted":
def get_portal_info(portal_sd: str) -> (str, str):
def get_portal_info(portal_sd: str) -> Tuple[str, str]:
for portal1, portal2 in portal_pairs.items():
if portal1.scene_destination() == portal_sd:
return portal1.name, portal2.region