From 21a4aa09e412208fce8026f79d02e05accdac736 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 20 May 2013 10:52:36 +0200 Subject: [PATCH] Small changes to match score output to the game log. --- Mage/src/mage/game/match/MatchImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/game/match/MatchImpl.java b/Mage/src/mage/game/match/MatchImpl.java index 5b55183d6b..7f76ac0a86 100644 --- a/Mage/src/mage/game/match/MatchImpl.java +++ b/Mage/src/mage/game/match/MatchImpl.java @@ -244,8 +244,8 @@ public abstract class MatchImpl implements Match { sb.append("\nMatch score:\n"); for (MatchPlayer mp :this.getPlayers()) { sb.append("- ").append(mp.getPlayer().getName()); - sb.append(" (").append(mp.getWins()).append(" wins / "); - sb.append(mp.getLoses()).append(" losses)\n"); + sb.append(" (").append(mp.getWins()).append(mp.getWins()==1?" win / ":" wins / "); + sb.append(mp.getLoses()).append(mp.getLoses()==1?" loss)\n":" losses)\n"); } sb.append("\n").append(this.getWinsNeeded()).append(this.getWinsNeeded() == 1 ? " win":" wins").append(" needed to win the match\n"); sb.append("\nGame has started\n");