summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-06 19:55:04 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-06 19:55:04 +0200
commit94d82ecbbce9b9e21bba19e42094a268713a5567 (patch)
tree61299ca729659ca54c755daceb5661395a94363e
parent8b6d67fb0e7b6e27955af30cc3e5545d94689e55 (diff)
downloadRustAndDust-94d82ecbbce9b9e21bba19e42094a268713a5567.zip
RustAndDust-94d82ecbbce9b9e21bba19e42094a268713a5567.tar.gz
GameCtrl: disable cancel button when in animation
-rw-r--r--core/src/ch/asynk/tankontank/game/GameCtrl.java1
1 files changed, 1 insertions, 0 deletions
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;