summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-19 13:22:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-19 13:22:59 +0100
commit7804deadfeb3ffe21938df1b2d23ba5bbf4652b3 (patch)
tree93f77054452536f90b4b6da220f3db98d22c6fde /core/src/ch/asynk/tankontank/screens
parent67495a042e2df886eadb242ac5a3601e1ce12bd8 (diff)
downloadRustAndDust-7804deadfeb3ffe21938df1b2d23ba5bbf4652b3.zip
RustAndDust-7804deadfeb3ffe21938df1b2d23ba5bbf4652b3.tar.gz
ScenariosMenu: add cancel button
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/MenuScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/MenuScreen.java b/core/src/ch/asynk/tankontank/screens/MenuScreen.java
index f47ba2d..ff2ece5 100644
--- a/core/src/ch/asynk/tankontank/screens/MenuScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/MenuScreen.java
@@ -112,7 +112,7 @@ public class MenuScreen implements Screen
} else if (scenariosMenu.hit(x, y)) {
mainMenu.visible = true;
scenariosMenu.visible = false;
- if (game.config.battle != null)
+ if (scenariosMenu.launch)
startLoading();
return true;
} else if (tutorialsMenu.hit(x, y)) {