From 3cecab25c7ef7972b66a1c460cfefff411ca4c04 Mon Sep 17 00:00:00 2001 From: Brad Humphrey Date: Sat, 29 Jan 2022 14:31:57 -0700 Subject: [PATCH] Add unplaced_items into the fill sweep --- Fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index f9cbbc7d..9771432d 100644 --- a/Fill.py +++ b/Fill.py @@ -38,7 +38,7 @@ def fill_restrictive(world: MultiWorld, base_state: CollectionState, locations, for items in reachable_items.values() if items] for item in items_to_place: itempool.remove(item) - maximum_exploration_state = sweep_from_pool(base_state, itempool) + maximum_exploration_state = sweep_from_pool(base_state, itempool + unplaced_items) has_beaten_game = world.has_beaten_game(maximum_exploration_state)