diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-31 20:14:18 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-31 20:14:18 +0100 |
commit | 18d0e63a79131ef553a18ae82e78d33c11779957 (patch) | |
tree | bcdd843c4ea2eb369965aac739d6e45e29421374 /core/src/ch/asynk/tankontank | |
parent | 48656bf850e8ba6fdc7bbeb05ffd4df4406eeda6 (diff) | |
download | RustAndDust-18d0e63a79131ef553a18ae82e78d33c11779957.zip RustAndDust-18d0e63a79131ef553a18ae82e78d33c11779957.tar.gz |
Factory: fix assetsLoaded usage
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/battles/Factory.java | 3 |
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() |