diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 13:22:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 13:22:59 +0100 |
commit | 7804deadfeb3ffe21938df1b2d23ba5bbf4652b3 (patch) | |
tree | 93f77054452536f90b4b6da220f3db98d22c6fde /core/src/ch/asynk/tankontank/screens | |
parent | 67495a042e2df886eadb242ac5a3601e1ce12bd8 (diff) | |
download | RustAndDust-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.java | 2 |
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)) { |