mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix bug causing completion list to never update
Use actual 'partial' command input buffer instead of the explicit command name.
This commit is contained in:
parent
fd1a5d76cf
commit
4e12402c76
@ -516,7 +516,7 @@ bool CConsole::AutoComplete(void)
|
||||
if (pCommand && pCommand->CanAutoComplete())
|
||||
{
|
||||
CUtlVector< CUtlString > commands;
|
||||
int iret = pCommand->AutoCompleteSuggest(svCommand.c_str(), commands);
|
||||
int iret = pCommand->AutoCompleteSuggest(m_szInputBuf, commands);
|
||||
|
||||
if (!iret)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user