Skip to content

Commit

Permalink
Update BaseClasses.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi authored Oct 16, 2024
1 parent 61dee17 commit ce988aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ def create_playthrough(self, create_paths: bool = True) -> None:
logging.debug('Checking if %s (Player %d) is required to beat the game.', item.name, item.player)
multiworld.precollected_items[item.player].remove(item)
multiworld.state.remove(item)
if not multiworld.can_beat_game():
if not multiworld.can_beat_game(multiworld.state, required_locations):
multiworld.push_precollected(item)
else:
removed_precollected.append(item)
Expand Down

0 comments on commit ce988aa

Please sign in to comment.