summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-07 20:51:51 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-07 20:51:51 +0200
commit7b637ded45d268cdbcc3331c3565ee035ec93bb6 (patch)
treea4aef79d58d5e22ed8d36ad0a9d7b2469ce1404e
parent383a8c07bc95f8949a1502f1deb766e8967f2ba0 (diff)
downloadRustAndDust-7b637ded45d268cdbcc3331c3565ee035ec93bb6.zip
RustAndDust-7b637ded45d268cdbcc3331c3565ee035ec93bb6.tar.gz
Hud: do not call ctrl.abort() twice
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index f771e07..4a12da1 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -170,7 +170,6 @@ public class Hud implements Disposable
if (!rect.contains(x,y)) return false;
if (cancelAct.hit(x, y)) {
- ctrl.abort();
cancelAct.setOn();
}