* Spellskite - Fixed that target could wrongly not be changed to spellskite in some cases.

This commit is contained in:
LevelX2 2014-07-29 17:44:42 +02:00
parent 48f0437bc7
commit ea1a098300
7 changed files with 8 additions and 8 deletions

View file

@ -665,7 +665,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
card = pickWorstCard(cards, null, target, source, game);
}
if (source != null) {
if (target.canTarget(card.getId(), this.getId(), source, game)) {
if (target.canTarget(this.getId(), card.getId(), source, game)) {
return card;
}
}