From 7c2cb34b4564217196ec9f88528991bafd0ba99c Mon Sep 17 00:00:00 2001 From: Silvris <58583688+Silvris@users.noreply.github.com> Date: Sat, 21 Oct 2023 05:59:53 -0500 Subject: [PATCH] Plando: prevent duplicate candidate locations (#2286) --- Fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index 94528a30..9d5dc0b4 100644 --- a/Fill.py +++ b/Fill.py @@ -847,7 +847,7 @@ def distribute_planned(world: MultiWorld) -> None: for target_player in worlds: locations += non_early_locations[target_player] - block['locations'] = locations + block['locations'] = list(dict.fromkeys(locations)) if not block['count']: block['count'] = (min(len(block['items']), len(block['locations'])) if