Skip to content

Commit

Permalink
Plando: prevent duplicate candidate locations (#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris authored Oct 21, 2023
1 parent 1a1d607 commit 7c2cb34
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 7c2cb34

Please sign in to comment.