Fixed bug in game log (combat).

This commit is contained in:
LevelX2 2014-05-17 18:13:44 +02:00
parent 83bf215bc9
commit 20f61b6c79

View file

@ -207,7 +207,7 @@ public class Combat implements Serializable, Copyable<Combat> {
}
}
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.DECLARED_ATTACKERS, attackerId, attackerId));
game.informPlayers(new StringBuilder(player.getName()).append(" attacks with ").append(groups.size()).append(" creatures").toString());
game.informPlayers(new StringBuilder(player.getName()).append(" attacks with ").append(groups.size()).append(groups.size() == 1 ? " creature":" creatures").toString());
}
protected void checkAttackRequirements(Player player, Game game) {