mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Plando: fix overwriting outer scope (#2196)
This commit is contained in:
8
Fill.py
8
Fill.py
@@ -840,12 +840,12 @@ def distribute_planned(world: MultiWorld) -> None:
|
|||||||
|
|
||||||
if "early_locations" in locations:
|
if "early_locations" in locations:
|
||||||
locations.remove("early_locations")
|
locations.remove("early_locations")
|
||||||
for player in worlds:
|
for target_player in worlds:
|
||||||
locations += early_locations[player]
|
locations += early_locations[target_player]
|
||||||
if "non_early_locations" in locations:
|
if "non_early_locations" in locations:
|
||||||
locations.remove("non_early_locations")
|
locations.remove("non_early_locations")
|
||||||
for player in worlds:
|
for target_player in worlds:
|
||||||
locations += non_early_locations[player]
|
locations += non_early_locations[target_player]
|
||||||
|
|
||||||
block['locations'] = locations
|
block['locations'] = locations
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user