Core: fix missed precollected change

This commit is contained in:
Fabian Dill 2021-10-11 01:39:25 +02:00
parent a8b105267c
commit 78443bffac
1 changed files with 1 additions and 1 deletions

View File

@ -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)