mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Fixed select best card (ComputerPlayer)
This commit is contained in:
parent
d473796373
commit
ba4455e5cb
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
Card pick = pickTarget(cards, outcome, target, null, game);
|
||||
if (pick != null) {
|
||||
target.addTarget(pick.getId(), null, game);
|
||||
cards.remove(pick);
|
||||
}
|
||||
}
|
||||
return target.isChosen();
|
||||
|
|
Loading…
Reference in a new issue