From 6e02a4ca3c2b0261f66ae479d8a046f6a3ee4a71 Mon Sep 17 00:00:00 2001 From: Silvris <58583688+Silvris@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:43:37 -0500 Subject: [PATCH] Plando: fix overwriting outer scope (#2196) --- Fill.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Fill.py b/Fill.py index 3e0342f4..21759eef 100644 --- a/Fill.py +++ b/Fill.py @@ -840,12 +840,12 @@ def distribute_planned(world: MultiWorld) -> 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