Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill: Crash if there are remaining unfilled locations #2830

Merged
merged 12 commits into from
Jan 13, 2025
Merged
2 changes: 2 additions & 0 deletions Fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ def mark_for_locking(location: Location):
locations_counter.update(location.player for location in unfilled)
print_data = {"items": items_counter, "locations": locations_counter}
logging.info(f'Per-Player counts: {print_data})')
if unfilled:
raise FillError(f"Not enough items to fill all locations.")


def flood_items(multiworld: MultiWorld) -> None:
Expand Down
Loading