From 78443bffaceb0863b1fca5a2ae30317bd555df56 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 11 Oct 2021 01:39:25 +0200 Subject: [PATCH] Core: fix missed precollected change --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index abf3a380..f8a74e79 100644 --- a/Main.py +++ b/Main.py @@ -405,7 +405,7 @@ def create_playthrough(world): removed_precollected = [] for item in (i for i in chain.from_iterable(world.precollected_items.values()) if i.advancement): logging.debug('Checking if %s (Player %d) is required to beat the game.', item.name, item.player) - world.precollected_items.remove(item) + world.precollected_items[item.player].remove(item) world.state.remove(item) if not world.can_beat_game(): world.push_precollected(item)