summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/ctrl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-15 13:44:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-15 13:44:00 +0100
commit62b522407d3fe1295a4db88c82b8a3bf6a002770 (patch)
tree209ce927a4a2523a698c492aa6141cf87deb84f9 /core/src/ch/asynk/rustanddust/game/ctrl
parent0dba5653994d79ddbe1f7c03f6363b7eee780313 (diff)
downloadRustAndDust-62b522407d3fe1295a4db88c82b8a3bf6a002770.zip
RustAndDust-62b522407d3fe1295a4db88c82b8a3bf6a002770.tar.gz
Solo: use storeTurn(int) instead of storeTurn(...)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/ctrl')
-rw-r--r--core/src/ch/asynk/rustanddust/game/ctrl/Solo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
index a2c0600..32e237f 100644
--- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
+++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
@@ -41,8 +41,8 @@ public class Solo extends Ctrl
@Override
protected void processTurn()
{
- storeTurn();
storeGame();
+ storeTurn();
}
private void storeGame()
@@ -52,6 +52,6 @@ public class Solo extends Ctrl
private void storeTurn()
{
- game.db.storeTurn(gameId, battle.getTurnCount(), battle.getPlayer().id, battle.unload(false));
+ game.db.storeTurn(gameId);
}
}