From 0afb20602ed8a934eba780030eb2b6b99aacc706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 14 Nov 2014 11:58:28 +0100 Subject: StateReinforcement: call map.clearAll() on enter --- core/src/ch/asynk/tankontank/game/states/StateReinforcement.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java index db47eb6..5a611f9 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java +++ b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java @@ -12,6 +12,7 @@ public class StateReinforcement extends StateCommon @Override public void enter(StateType prevState) { + map.clearAll(); if (selectedHex != null) map.unselectHex(selectedHex); entryPoint = null; -- cgit v1.1-2-g2b99