ai client (#206)
This commit is contained in:
parent
59ad5d9466
commit
85a151da6c
1 changed files with 1 additions and 0 deletions
|
|
@ -418,6 +418,7 @@ pub fn city_collections(game: &Game, player: &Player, city: &City) -> Vec<Collec
|
|||
.permutations(l)
|
||||
.map(|priority| city_collection(game, player, city, &priority))
|
||||
.unique_by(Collect::total)
|
||||
.filter(|c| c.total().amount() > 0) // todo check earlier?
|
||||
.collect_vec()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue