Core: Crash on full accessibility if there are unreachable locations (Yes, you read that right) #3787

This commit is contained in:
NewSoupVi
2025-07-15 20:32:53 +02:00
committed by GitHub
parent f967444ac2
commit c1ae637fa7

View File

@@ -706,6 +706,12 @@ class MultiWorld():
sphere.append(locations.pop(n))
if not sphere:
if __debug__:
from Fill import FillError
raise FillError(
f"Could not access required locations for accessibility check. Missing: {locations}",
multiworld=self,
)
# ran out of places and did not finish yet, quit
logging.warning(f"Could not access required locations for accessibility check."
f" Missing: {locations}")