diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/ctrl/Solo.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java index ce52756..212e5ad 100644 --- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java +++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java @@ -36,7 +36,7 @@ public class Solo extends Ctrl @Override protected void processTurn() { - // TODO must store Orders in turns table + storeOrders(); storeState(); } @@ -44,4 +44,9 @@ public class Solo extends Ctrl { game.db.storeState(gameId, battle.getPlayer().getId(), battle.getOpponent().getId(), battle.unload(true)); } + + private void storeOrders() + { + game.db.storeTurn(gameId, battle.getPlayer().getId(), battle.unload(false)); + } } |