Merge branch 'indev' of https://github.com/Mauler125/r5apexsdk into indev

This commit is contained in:
Amos 2022-01-20 15:43:32 +01:00
commit a156459419

View File

@ -379,7 +379,7 @@ void CConsole::FindFromPartial(void)
{ {
if (g_vsvAllConVars[i].find(m_szInputBuf) != std::string::npos) if (g_vsvAllConVars[i].find(m_szInputBuf) != std::string::npos)
{ {
if (std::find(m_vsvSuggest.begin(), m_vsvSuggest.end(), g_vsvAllConVars[i]) == m_vsvSuggest.end()); if (std::find(m_vsvSuggest.begin(), m_vsvSuggest.end(), g_vsvAllConVars[i]) == m_vsvSuggest.end())
{ {
std::string svValue; std::string svValue;
ConVar* pConVar = g_pCVar->FindVar(g_vsvAllConVars[i].c_str()); ConVar* pConVar = g_pCVar->FindVar(g_vsvAllConVars[i].c_str());