Skip to content

Commit

Permalink
Plando: prevent duplicate candidate locations (ArchipelagoMW#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris authored and Jouramie committed Feb 28, 2024
1 parent 8329470 commit 36385d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ def failed(warning: str, force: typing.Union[bool, str]) -> 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
Expand Down

0 comments on commit 36385d4

Please sign in to comment.