summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-05 10:31:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-05 10:31:49 +0100
commit1fb1dfb1044fca8e7a1b357792a46cea2fca9131 (patch)
treeb0322ad24f3e1f83bca9605fd19076de09aae2d1 /core/src/ch/asynk/tankontank/screens
parent2db66bd24f4c7f18ca628fc7d6c88a65b100cd82 (diff)
downloadRustAndDust-1fb1dfb1044fca8e7a1b357792a46cea2fca9131.zip
RustAndDust-1fb1dfb1044fca8e7a1b357792a46cea2fca9131.tar.gz
MenuScreen: reset battle in constructor
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/MenuScreen.java2
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)