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/menu/PlayMenu.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
index 40a1a15..54ba412 100644
--- a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
@@ -62,10 +62,11 @@ public class PlayMenu extends Patch implements MenuCtrl.Panel
public MenuCtrl.MenuType prepare()
{
game.db.loadGames();
+ game.config.gameId = game.db.NO_RECORDS;
+
if (GameRecord.list.size() <= 0)
return MenuCtrl.MenuType.NEW_GAME;
- game.config.gameId = game.db.NO_RECORDS;
getList().setItems(4, GameRecord.list);
computePosition();
return MenuCtrl.MenuType.PLAY;