* Player tournament result - Fixed a bug that draws were not shown correctly. Instead of "1-1-1" it was "11--1" shown for the result ( 1 win, 1 draw, 1 loss).

This commit is contained in:
LevelX2 2014-08-07 16:41:20 +02:00
parent 0c33f12f6c
commit a05077f558

View file

@ -306,7 +306,7 @@ public abstract class TournamentImpl implements Tournament {
matchResult.append(mp1.getPlayer().hasIdleTimeout()? "I" :(mp1.getPlayer().hasTimerTimeout()?"T":"Q"));
}
if (match.getDraws() > 0) {
matchResult.append(match.getDraws()).append("-");
matchResult.append("-").append(match.getDraws());
}
matchResult.append("-").append(mp2.getWins());
if (mp2.hasQuit()) {