summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Input
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-08-03 19:33:43 +0800
committerchai <chaifix@163.com>2021-08-03 19:33:43 +0800
commit494d3f727786ff70753692d8de019d9600a007e1 (patch)
tree1b328a0d2d8943157903065ca3441b9f6485e3f9 /Assets/Scripts/Input
parent31666a451a74183b74557208812a9b47053c3f08 (diff)
*misc
Diffstat (limited to 'Assets/Scripts/Input')
-rw-r--r--Assets/Scripts/Input/InputManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Input/InputManager.cs b/Assets/Scripts/Input/InputManager.cs
index 47617c36..fadf3556 100644
--- a/Assets/Scripts/Input/InputManager.cs
+++ b/Assets/Scripts/Input/InputManager.cs
@@ -31,7 +31,7 @@ public class InputManager : SingletonMB<InputManager>
UnitState.MoveParam move = new UnitState.MoveParam();
move.isRight = false;
move.key = "a";
- pc.unitState.ChangeState<UnitState.MoveParam>(UnitState.EUnitState.Move, move, true);
+ pc.unitState.ChangeState(UnitState.EUnitState.Move, move);
}
public void OnTurnBack()