diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-26 23:30:38 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-26 23:30:38 +0100 |
commit | efabbccea93ea662a7f31301be11cbf2e2d67ad7 (patch) | |
tree | d632ae718de3cb58ee70113e72b60d4a5f75e0e6 /core/src/ch/asynk | |
parent | ddd46148fa83a7e071567dce1bb55e84e903b12a (diff) | |
download | RustAndDust-efabbccea93ea662a7f31301be11cbf2e2d67ad7.zip RustAndDust-efabbccea93ea662a7f31301be11cbf2e2d67ad7.tar.gz |
StateRotate: hide move assists on enter if option is off
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateRotate.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateRotate.java b/core/src/ch/asynk/rustanddust/game/states/StateRotate.java index 0331cdb..fece24d 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateRotate.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateRotate.java @@ -14,6 +14,8 @@ public class StateRotate extends StateCommon @Override public void enter(StateType prevState) { + if (!cfg.showMoveAssists) map.unitsMoveableHide(); + if (activeUnit == null) activeUnit = selectedUnit; if (to == null) |