wipe reachable regions during TR key logic checks to ensure properly finding logic regions
This commit is contained in:
parent
4fcce66505
commit
138c884684
|
@ -854,6 +854,7 @@ def set_trock_key_rules(world, player):
|
|||
set_rule(world.get_entrance(entrance, player), lambda state: False)
|
||||
|
||||
all_state = world.get_all_state(True)
|
||||
all_state.reachable_regions[player] = set() # wipe reachable regions so that the locked doors actually work
|
||||
|
||||
# Check if each of the four main regions of the dungoen can be reached. The previous code section prevents key-costing moves within the dungeon.
|
||||
can_reach_back = all_state.can_reach(world.get_region('Turtle Rock (Eye Bridge)', player)) if world.can_access_trock_eyebridge[player] is None else world.can_access_trock_eyebridge[player]
|
||||
|
|
Loading…
Reference in New Issue