summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-06 12:37:23 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-06 12:37:23 +0100
commit8371cddb3e14e00368c628ce03e2eefd76ccb05c (patch)
treec335d3f6918d192f0c8b8cc2c3457066d714253f
parent9eccaabfc4c32e2e5c5e8e1101297423a13566bb (diff)
downloadRustAndDust-8371cddb3e14e00368c628ce03e2eefd76ccb05c.zip
RustAndDust-8371cddb3e14e00368c628ce03e2eefd76ccb05c.tar.gz
UnitDock: do not deselect unit if touch out of it, this mess up dragging, hiding deselect the unit
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/UnitDock.java1
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;
}