mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Item Plando: make world selection deterministic
This commit is contained in:
3
Fill.py
3
Fill.py
@@ -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
|
||||||
|
Reference in New Issue
Block a user