diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 20:51:51 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 20:51:51 +0200 |
commit | 7b637ded45d268cdbcc3331c3565ee035ec93bb6 (patch) | |
tree | a4aef79d58d5e22ed8d36ad0a9d7b2469ce1404e | |
parent | 383a8c07bc95f8949a1502f1deb766e8967f2ba0 (diff) | |
download | RustAndDust-7b637ded45d268cdbcc3331c3565ee035ec93bb6.zip RustAndDust-7b637ded45d268cdbcc3331c3565ee035ec93bb6.tar.gz |
Hud: do not call ctrl.abort() twice
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 1 |
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(); } |