mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fill: fix priority_locations being undone by prog_balancing shop shuffle and other late-fills (#513)
This commit is contained in:
2
Fill.py
2
Fill.py
@@ -166,7 +166,7 @@ def distribute_items_restrictive(world: MultiWorld) -> None:
|
|||||||
defaultlocations = locations[LocationProgressType.DEFAULT]
|
defaultlocations = locations[LocationProgressType.DEFAULT]
|
||||||
excludedlocations = locations[LocationProgressType.EXCLUDED]
|
excludedlocations = locations[LocationProgressType.EXCLUDED]
|
||||||
|
|
||||||
fill_restrictive(world, world.state, prioritylocations, progitempool)
|
fill_restrictive(world, world.state, prioritylocations, progitempool, lock=True)
|
||||||
if prioritylocations:
|
if prioritylocations:
|
||||||
defaultlocations = prioritylocations + defaultlocations
|
defaultlocations = prioritylocations + defaultlocations
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user