diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-06 12:37:23 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-06 12:37:23 +0100 |
commit | 8371cddb3e14e00368c628ce03e2eefd76ccb05c (patch) | |
tree | c335d3f6918d192f0c8b8cc2c3457066d714253f /core/src | |
parent | 9eccaabfc4c32e2e5c5e8e1101297423a13566bb (diff) | |
download | RustAndDust-8371cddb3e14e00368c628ce03e2eefd76ccb05c.zip RustAndDust-8371cddb3e14e00368c628ce03e2eefd76ccb05c.tar.gz |
UnitDock: do not deselect unit if touch out of it, this mess up dragging, hiding deselect the unit
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/UnitDock.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java index e0b997b..39041cc 100644 --- a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java +++ b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java @@ -98,7 +98,6 @@ public class UnitDock extends Bg implements Animation ctrl.hud.notify(selectedUnit.toString()); return true; } - selectedUnit = null; return false; } |