From 8337a9748f83690781060bfe91495576a87ad5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 15 Oct 2014 11:43:55 +0200 Subject: StatSelect: clear all on abort --- core/src/ch/asynk/tankontank/game/states/StateSelect.java | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1-2-g2b99