summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/Factory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/Factory.java b/core/src/ch/asynk/tankontank/game/battles/Factory.java
index 5a594d3..db81537 100644
--- a/core/src/ch/asynk/tankontank/game/battles/Factory.java
+++ b/core/src/ch/asynk/tankontank/game/battles/Factory.java
@@ -64,7 +64,7 @@ public class Factory implements Board.TileBuilder, Disposable
this.pawnsAtlas = game.manager.get("data/units.atlas", TextureAtlas.class);
this.pawnOverlaysAtlas = game.manager.get("data/unit-overlays.atlas", TextureAtlas.class);
this.tileOverlaysAtlas = game.manager.get("data/hex-overlays.atlas", TextureAtlas.class);
- this.assetsLoaded = false;
+ this.assetsLoaded = true;
}
@Override
@@ -75,6 +75,7 @@ public class Factory implements Board.TileBuilder, Disposable
pawnsAtlas.dispose();
pawnOverlaysAtlas.dispose();
tileOverlaysAtlas.dispose();
+ this.assetsLoaded = false;
}
private Board.Config config()