mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Plando: prevent duplicate candidate locations (#2286)
This commit is contained in:
2
Fill.py
2
Fill.py
@@ -847,7 +847,7 @@ def distribute_planned(world: MultiWorld) -> None:
|
||||
for target_player in worlds:
|
||||
locations += non_early_locations[target_player]
|
||||
|
||||
block['locations'] = locations
|
||||
block['locations'] = list(dict.fromkeys(locations))
|
||||
|
||||
if not block['count']:
|
||||
block['count'] = (min(len(block['items']), len(block['locations'])) if
|
||||
|
Reference in New Issue
Block a user