Core: Require excluded locations to be reachable with full/locations accessibility (#3802)

* Make excludeds reachable

* Update all_state tests
This commit is contained in:
Exempt-Medic
2024-08-16 14:49:37 -04:00
committed by GitHub
parent 56aabe51b8
commit 06df072095
3 changed files with 6 additions and 11 deletions

View File

@@ -616,8 +616,7 @@ class MultiWorld():
def location_relevant(location: Location) -> bool:
"""Determine if this location is relevant to sweep."""
return location.progress_type != LocationProgressType.EXCLUDED \
and (location.player in players["full"] or location.advancement)
return location.player in players["full"] or location.advancement
def all_done() -> bool:
"""Check if all access rules are fulfilled"""