From 94d82ecbbce9b9e21bba19e42094a268713a5567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 6 Oct 2014 19:55:04 +0200 Subject: GameCtrl: disable cancel button when in animation --- core/src/ch/asynk/tankontank/game/GameCtrl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/tankontank/game/GameCtrl.java b/core/src/ch/asynk/tankontank/game/GameCtrl.java index 1d7f92e..9c39ef8 100644 --- a/core/src/ch/asynk/tankontank/game/GameCtrl.java +++ b/core/src/ch/asynk/tankontank/game/GameCtrl.java @@ -86,6 +86,7 @@ public class GameCtrl implements Disposable break; case ANIMATION: this.state = animationState; + hud.disableCancel(); break; default: break; -- cgit v1.1-2-g2b99