mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: Crash on full accessibility if there are unreachable locations (Yes, you read that right) #3787
This commit is contained in:
@@ -706,6 +706,12 @@ class MultiWorld():
|
|||||||
sphere.append(locations.pop(n))
|
sphere.append(locations.pop(n))
|
||||||
|
|
||||||
if not sphere:
|
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
|
# ran out of places and did not finish yet, quit
|
||||||
logging.warning(f"Could not access required locations for accessibility check."
|
logging.warning(f"Could not access required locations for accessibility check."
|
||||||
f" Missing: {locations}")
|
f" Missing: {locations}")
|
||||||
|
Reference in New Issue
Block a user