diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-15 11:43:55 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-15 11:43:55 +0200 |
commit | 8337a9748f83690781060bfe91495576a87ad5a8 (patch) | |
tree | b2725e8f254109d345610fe4bae5523eee894924 /core | |
parent | af7b8efbf3962624514315f2a108c1659f364d02 (diff) | |
download | RustAndDust-8337a9748f83690781060bfe91495576a87ad5a8.zip RustAndDust-8337a9748f83690781060bfe91495576a87ad5a8.tar.gz |
StatSelect: clear all on abort
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateSelect.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateSelect.java b/core/src/ch/asynk/tankontank/game/states/StateSelect.java index 58aad88..556148c 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateSelect.java +++ b/core/src/ch/asynk/tankontank/game/states/StateSelect.java @@ -73,6 +73,9 @@ public class StateSelect extends StateCommon @Override public void abort() { + if (selectedHex.x != -1) map.selectHex(selectedHex, false); + map.hidePossibleTargetsMovesAssists(); + clearAll(); } @Override |