Item Plando: make world selection deterministic

This commit is contained in:
black-sliver 2023-03-01 22:43:59 +01:00
parent 96d7a3a64c
commit e78800d1bc
1 changed files with 1 additions and 2 deletions

View File

@ -840,8 +840,7 @@ def distribute_planned(world: MultiWorld) -> None:
maxcount = placement['count']['target'] maxcount = placement['count']['target']
from_pool = placement['from_pool'] from_pool = placement['from_pool']
candidates = list(location for location in world.get_unfilled_locations_for_players(locations, candidates = list(world.get_unfilled_locations_for_players(locations, sorted(worlds)))
worlds))
world.random.shuffle(candidates) world.random.shuffle(candidates)
world.random.shuffle(items) world.random.shuffle(items)
count = 0 count = 0