mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* 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:
parent
0c33f12f6c
commit
a05077f558
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ public abstract class TournamentImpl implements Tournament {
|
||||||
matchResult.append(mp1.getPlayer().hasIdleTimeout()? "I" :(mp1.getPlayer().hasTimerTimeout()?"T":"Q"));
|
matchResult.append(mp1.getPlayer().hasIdleTimeout()? "I" :(mp1.getPlayer().hasTimerTimeout()?"T":"Q"));
|
||||||
}
|
}
|
||||||
if (match.getDraws() > 0) {
|
if (match.getDraws() > 0) {
|
||||||
matchResult.append(match.getDraws()).append("-");
|
matchResult.append("-").append(match.getDraws());
|
||||||
}
|
}
|
||||||
matchResult.append("-").append(mp2.getWins());
|
matchResult.append("-").append(mp2.getWins());
|
||||||
if (mp2.hasQuit()) {
|
if (mp2.hasQuit()) {
|
||||||
|
|
Loading…
Reference in a new issue