summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-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()