From 3a27156c831f2de36d86423c72cf20d6c0a59d59 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Sat, 7 Jun 2025 09:04:27 -0400 Subject: [PATCH] Fix remaining_fill --- Fill.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index d0a42c07eb..e9c8baa591 100644 --- a/Fill.py +++ b/Fill.py @@ -308,7 +308,8 @@ def remaining_fill(multiworld: MultiWorld, logging.debug(f"Moved {item} to start_inventory to prevent fill failure.") multiworld.push_precollected(item) last_batch.append(multiworld.worlds[item.player].create_filler()) - remaining_fill(multiworld, locations, unplaced_items, name + " Start Inventory Retry") + unplaced_items = [] + remaining_fill(multiworld, locations, last_batch, name + " Start Inventory Retry") else: raise FillError(f"No more spots to place {len(unplaced_items)} items. Remaining locations are invalid.\n" f"Unplaced items:\n"