summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/util/GameRecord.java4
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));
}
}