mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Ensure that remaining items get placed if we run into a dead end while creating a seed.
This commit is contained in:
3
Main.py
3
Main.py
@@ -114,7 +114,8 @@ def distribute_items(world):
|
||||
# we placed all available progress items. Maybe the game can be beaten anyway?
|
||||
if world.can_beat_game():
|
||||
logging.getLogger('').warning('Not all locations reachable. Game beatable anyway.')
|
||||
break
|
||||
progress_done = True
|
||||
continue
|
||||
raise RuntimeError('No more progress items left to place.')
|
||||
|
||||
spot_to_fill = None
|
||||
|
Reference in New Issue
Block a user