Fixed select best card (ComputerPlayer)

This commit is contained in:
Plopman 2013-04-06 18:23:53 +02:00
parent d473796373
commit ba4455e5cb

View file

@ -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();