From d88698a454fbfe306bd0142660172bdd6e93ecf3 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 29 Aug 2021 13:22:23 +0800 Subject: *misc --- Assets/Scripts/Input/InputManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Assets/Scripts/Input/InputManager.cs') 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 return false; } } - m_CommandQueue.RemoveRange(count - keys.Length, keys.Length); + //m_CommandQueue.RemoveRange(count - keys.Length, keys.Length); + m_CommandQueue.Clear(); return true; } -- cgit v1.1-26-g67d0