From e78800d1bccccd5197354d6418ae11fc7688d5da Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Wed, 1 Mar 2023 22:43:59 +0100 Subject: [PATCH] Item Plando: make world selection deterministic --- Fill.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Fill.py b/Fill.py index ac3ae8fc..92b57af5 100644 --- a/Fill.py +++ b/Fill.py @@ -840,8 +840,7 @@ def distribute_planned(world: MultiWorld) -> None: maxcount = placement['count']['target'] from_pool = placement['from_pool'] - candidates = list(location for location in world.get_unfilled_locations_for_players(locations, - worlds)) + candidates = list(world.get_unfilled_locations_for_players(locations, sorted(worlds))) world.random.shuffle(candidates) world.random.shuffle(items) count = 0