summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-16 19:34:19 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-16 19:34:19 +0200
commitffe8711b448a5c10ce3e86e5013e7e0a6de2faf0 (patch)
tree3a3ea6ec70ece979ffd25091f03db431795267e5 /core/src
parent5ba14d46fbcb90888f057524430d5601f7a8f3c8 (diff)
downloadRustAndDust-ffe8711b448a5c10ce3e86e5013e7e0a6de2faf0.zip
RustAndDust-ffe8711b448a5c10ce3e86e5013e7e0a6de2faf0.tar.gz
StateSelect: call map.clearAll() on abort()
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateSelect.java1
1 files changed, 1 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 8ff3bcd..7db0c2d 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateSelect.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateSelect.java
@@ -80,6 +80,7 @@ public class StateSelect extends StateCommon
if (selectedHex.x != -1) map.selectHex(selectedHex, false);
map.hidePossibleTargetsMovesAssists();
clearAll();
+ map.clearAll();
}
@Override