summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-31 01:47:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-31 01:47:04 +0100
commit3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5 (patch)
treef901f7ccd45600f55c7af9c0c56fd36d38ee5815
parent9af3b6bd500f16ba0f0c579ef89dbf50239de746 (diff)
downloadRustAndDust-3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5.zip
RustAndDust-3d1f6cbaabf630f5a334f43183ff75e06fbf1ee5.tar.gz
Factory: update battle db table
-rw-r--r--core/src/ch/asynk/rustanddust/game/Factory.java2
1 files changed, 2 insertions, 0 deletions
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()