diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/util/GameRecord.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/util/GameRecord.java b/core/src/ch/asynk/rustanddust/util/GameRecord.java index 4a540ba..b39a68d 100644 --- a/core/src/ch/asynk/rustanddust/util/GameRecord.java +++ b/core/src/ch/asynk/rustanddust/util/GameRecord.java @@ -90,7 +90,7 @@ public class GameRecord implements List.ListElement, Disposable, Pool.Poolable public String s() { if (s == null) { - if ((mode == GameMode.SOLO) || canPlay()) + if (canPlay()) s = String.format("# %s - %s - %s - %s", mode.s, bName, oName, DateFormat.getDateInstance().format(ts)); else { s = String.format(" %s - %s - %s - %s", mode.s, bName, oName, DateFormat.getDateInstance().format(ts)); @@ -101,6 +101,6 @@ public class GameRecord implements List.ListElement, Disposable, Pool.Poolable public boolean canPlay() { - return (opponent != currentPlayer); + return ((mode == GameMode.SOLO) || (opponent != currentPlayer)); } } |