From 7e7bfcddd29ba4462f99a3a4cd0e1aeed49eaf34 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 1 May 2016 20:30:34 +0200 Subject: [PATCH] Fix console autocompletion (fixes #451) --- src/game/client/components/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index f28228ed9..9ff64154b 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -222,7 +222,7 @@ void CGameConsole::CInstance::OnInput(IInput::CEvent Event) if(!Handled) m_Input.ProcessInput(Event); - if(Event.m_Flags&IInput::FLAG_PRESS) + if(Event.m_Flags & (IInput::FLAG_PRESS|IInput::FLAG_TEXT)) { if((Event.m_Key != KEY_TAB) && (Event.m_Key != KEY_LSHIFT)) {