mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix completion rendering on new input
This commit is contained in:
parent
0217a76771
commit
63b92b729e
|
@ -224,6 +224,7 @@ void CGameConsole::CInstance::OnInput(IInput::CEvent Event)
|
|||
{
|
||||
m_CompletionChosen = -1;
|
||||
str_copy(m_aCompletionBuffer, m_Input.GetString(), sizeof(m_aCompletionBuffer));
|
||||
m_CompletionRenderOffset = 0.0f;
|
||||
}
|
||||
|
||||
// find the current command
|
||||
|
|
Loading…
Reference in a new issue