Fixed minor bug of game log discard text.

This commit is contained in:
LevelX2 2013-06-09 15:30:42 +02:00
parent 0461f0718c
commit 262cc5e2b9

View file

@ -471,7 +471,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
discard(hand.get(target.getFirstTarget(), game), null, game);
}
int discarded =cardsStart - hand.size();
game.informPlayers(new StringBuilder(getName()).append(" discards ").append(discarded).append(discarded == 1?"card":"cards").append(" (cleanup)").toString());
game.informPlayers(new StringBuilder(getName()).append(" discards ").append(discarded).append(discarded == 1?" card":" cards").append(" (cleanup)").toString());
}
}