From 7de6671477cd1fba665aa19f009a9eb7bc836a31 Mon Sep 17 00:00:00 2001 From: aerinon Date: Mon, 11 Nov 2024 08:19:31 -0700 Subject: [PATCH] fix: accessibility bug --- DoorShuffle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DoorShuffle.py b/DoorShuffle.py index 14433143..e22a6822 100644 --- a/DoorShuffle.py +++ b/DoorShuffle.py @@ -2321,7 +2321,7 @@ def validate_trap_layout(proposal, builder, start_regions, paths, world, player) if bk_special_loc: if not state.found_forced_bk(): return False - if world.accessibility[player] != 'beatable': + if world.accessibility[player] != 'none': all_locations = [l for r in builder.master_sector.region_set() for l in world.get_region(r, player).locations] if any(l not in state.found_locations for l in all_locations): return False