Skip to content

Commit

Permalink
Plando: fix overwriting outer scope (ArchipelagoMW#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris authored Sep 19, 2023
1 parent 2ef05a1 commit 6e02a4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,12 +840,12 @@ def failed(warning: str, force: typing.Union[bool, str]) -> None:

if "early_locations" in locations:
locations.remove("early_locations")
for player in worlds:
locations += early_locations[player]
for target_player in worlds:
locations += early_locations[target_player]
if "non_early_locations" in locations:
locations.remove("non_early_locations")
for player in worlds:
locations += non_early_locations[player]
for target_player in worlds:
locations += non_early_locations[target_player]

block['locations'] = locations

Expand Down

0 comments on commit 6e02a4c

Please sign in to comment.