Skip to content

Commit 6bacb7e

Browse files
SilvrisFlySniper
authored andcommitted
Plando: fix overwriting outer scope (ArchipelagoMW#2196)
1 parent db731f5 commit 6bacb7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Fill.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -840,12 +840,12 @@ def failed(warning: str, force: typing.Union[bool, str]) -> None:
840840

841841
if "early_locations" in locations:
842842
locations.remove("early_locations")
843-
for player in worlds:
844-
locations += early_locations[player]
843+
for target_player in worlds:
844+
locations += early_locations[target_player]
845845
if "non_early_locations" in locations:
846846
locations.remove("non_early_locations")
847-
for player in worlds:
848-
locations += non_early_locations[player]
847+
for target_player in worlds:
848+
locations += non_early_locations[target_player]
849849

850850
block['locations'] = locations
851851

0 commit comments

Comments
 (0)