diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/states')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateReinforcement.java | 3 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateSelect.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateReinforcement.java b/core/src/ch/asynk/rustanddust/game/states/StateReinforcement.java index ffb1f24..847b622 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateReinforcement.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateReinforcement.java @@ -12,7 +12,8 @@ public class StateReinforcement extends StateCommon @Override public void enterFrom(StateType prevState) { - map.clear(); + map.clearMoves(); + map.clearUnits(); entryZone = null; activeUnit = null; selectedHex = null; diff --git a/core/src/ch/asynk/rustanddust/game/states/StateSelect.java b/core/src/ch/asynk/rustanddust/game/states/StateSelect.java index 8118e89..1f042e7 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateSelect.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateSelect.java @@ -124,7 +124,8 @@ public class StateSelect extends StateCommon private void clear() { hide(); - map.clear(); + map.clearMoves(); + map.clearUnits(); to = null; isEnemy = false; selectedHex = null; |