summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Input/InputManager.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-08-29 13:22:23 +0800
committerchai <chaifix@163.com>2021-08-29 13:22:23 +0800
commitd88698a454fbfe306bd0142660172bdd6e93ecf3 (patch)
treeed14d90c20c351feca9b9acfecc7f00e63137544 /Assets/Scripts/Input/InputManager.cs
parentde78537f8edc6cb162ba58520956255f7e53769d (diff)
*misc
Diffstat (limited to 'Assets/Scripts/Input/InputManager.cs')
-rw-r--r--Assets/Scripts/Input/InputManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Assets/Scripts/Input/InputManager.cs b/Assets/Scripts/Input/InputManager.cs
index 62fd5f91..72f5cba2 100644
--- a/Assets/Scripts/Input/InputManager.cs
+++ b/Assets/Scripts/Input/InputManager.cs
@@ -108,7 +108,8 @@ public class InputManager : SingletonMB<InputManager>
return false;
}
}
- m_CommandQueue.RemoveRange(count - keys.Length, keys.Length);
+ //m_CommandQueue.RemoveRange(count - keys.Length, keys.Length);
+ m_CommandQueue.Clear();
return true;
}