From c1ae637fa7d6d152a4a52fadb8055b3ec59f4606 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Tue, 15 Jul 2025 20:32:53 +0200 Subject: [PATCH] Core: Crash on full accessibility if there are unreachable locations (Yes, you read that right) #3787 --- BaseClasses.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BaseClasses.py b/BaseClasses.py index dbcd65ab..ef0fa10e 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -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}")