From 62b522407d3fe1295a4db88c82b8a3bf6a002770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 15 Mar 2016 13:44:00 +0100 Subject: Solo: use storeTurn(int) instead of storeTurn(...) --- core/src/ch/asynk/rustanddust/game/ctrl/Solo.java | 4 ++-- 1 file 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); } } -- cgit v1.1-2-g2b99