diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-05 10:31:49 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-05 10:31:49 +0100 |
commit | 1fb1dfb1044fca8e7a1b357792a46cea2fca9131 (patch) | |
tree | b0322ad24f3e1f83bca9605fd19076de09aae2d1 /core/src/ch/asynk/tankontank | |
parent | 2db66bd24f4c7f18ca628fc7d6c88a65b100cd82 (diff) | |
download | RustAndDust-1fb1dfb1044fca8e7a1b357792a46cea2fca9131.zip RustAndDust-1fb1dfb1044fca8e7a1b357792a46cea2fca9131.tar.gz |
MenuScreen: reset battle in constructor
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/MenuScreen.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/MenuScreen.java b/core/src/ch/asynk/tankontank/screens/MenuScreen.java index 80a1826..94eb700 100644 --- a/core/src/ch/asynk/tankontank/screens/MenuScreen.java +++ b/core/src/ch/asynk/tankontank/screens/MenuScreen.java @@ -90,6 +90,8 @@ public class MenuScreen implements Screen this.scenariosMenu = new ScenariosMenu(game, game.fontB, game.uiAtlas); this.tutorialsMenu = new TutorialsMenu(game, game.fontB, game.uiAtlas); + this.game.config.battle = null; + Gdx.input.setInputProcessor(new InputAdapter() { @Override public boolean touchDown(int x, int y, int pointer, int button) |