From 3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 31 Jan 2016 01:47:04 +0100 Subject: Factory: update battle db table --- core/src/ch/asynk/rustanddust/game/Factory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/game/Factory.java b/core/src/ch/asynk/rustanddust/game/Factory.java index 1d2579a..fb780a3 100644 --- a/core/src/ch/asynk/rustanddust/game/Factory.java +++ b/core/src/ch/asynk/rustanddust/game/Factory.java @@ -57,6 +57,8 @@ public class Factory implements Board.TileBuilder, Disposable new Battle00(this), new BattleTest(this), }; + for (int i = 0; i < battles.length; i++) + game.db.storeBattle(battles[i].getId(), battles[i].getName()); } public void assetsLoaded() -- cgit v1.1-2-g2b99