Skip to content

Commit

Permalink
Core: don't lock progression (#3501)
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 authored Jun 12, 2024
1 parent 3b9b935 commit 2daccde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,15 +483,15 @@ def mark_for_locking(location: Location):
if panic_method == "swap":
fill_restrictive(multiworld, multiworld.state, defaultlocations, progitempool,
swap=True,
on_place=mark_for_locking, name="Progression", single_player_placement=multiworld.players == 1)
name="Progression", single_player_placement=multiworld.players == 1)
elif panic_method == "raise":
fill_restrictive(multiworld, multiworld.state, defaultlocations, progitempool,
swap=False,
on_place=mark_for_locking, name="Progression", single_player_placement=multiworld.players == 1)
name="Progression", single_player_placement=multiworld.players == 1)
elif panic_method == "start_inventory":
fill_restrictive(multiworld, multiworld.state, defaultlocations, progitempool,
swap=False, allow_partial=True,
on_place=mark_for_locking, name="Progression", single_player_placement=multiworld.players == 1)
name="Progression", single_player_placement=multiworld.players == 1)
if progitempool:
for item in progitempool:
logging.debug(f"Moved {item} to start_inventory to prevent fill failure.")
Expand Down

0 comments on commit 2daccde

Please sign in to comment.