Core: make progression balancing deterministic (#295)
This commit is contained in:
parent
aa9f43dea1
commit
f6d857b5b5
4
Fill.py
4
Fill.py
|
@ -404,7 +404,9 @@ def balance_multiworld_progression(world: MultiWorld) -> None:
|
|||
items_to_replace: typing.List[Location] = []
|
||||
for player in balancing_players:
|
||||
locations_to_test = unlocked_locations[player]
|
||||
items_to_test = candidate_items[player]
|
||||
items_to_test = list(candidate_items[player])
|
||||
items_to_test.sort()
|
||||
world.random.shuffle(items_to_test)
|
||||
while items_to_test:
|
||||
testing = items_to_test.pop()
|
||||
reducing_state = state.copy()
|
||||
|
|
Loading…
Reference in New Issue