Fixed issue with OW Layout and OW Crossed failing layout validation

This commit is contained in:
codemann8
2021-12-06 09:29:57 -06:00
parent aa2ea18232
commit 940837e7ee

View File

@@ -902,7 +902,7 @@ def build_accessible_region_list(world, start_region, player, build_copy_world=F
explore_region(flutespot.connected_region.name, flutespot.connected_region)
elif exit.connected_region.name not in explored_regions \
and (exit.connected_region.type == region.type
or exit.name in OWExitTypes['OWEdge'] or (cross_world and exit.name in OWExitTypes['Portal'])) \
or exit.name in OWExitTypes['OWEdge'] or (cross_world and exit.name in (OWExitTypes['Portal'] + OWExitTypes['Mirror']))) \
and (not region_rules or exit.access_rule(blank_state)) and (not ignore_ledges or exit.name not in OWExitTypes['Ledge']):
explore_region(exit.connected_region.name, exit.connected_region)