From 9924a28acf6b449555a3e121a7fbae2f8df348d5 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 5 Mar 2017 17:08:25 -0500 Subject: [PATCH] Fix AllowClLanguageVar setting being ignored in CS:GO. --- core/PlayerManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index 7d68ee06..840752bf 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -714,7 +714,7 @@ void PlayerManager::OnClientPutInServer(edict_t *pEntity, const char *playername pPlayer->Authorize_Post(); } #if SOURCE_ENGINE == SE_CSGO - else + else if(m_QueryLang) { // Not a bot pPlayer->m_LanguageCookie = g_ConVarManager.QueryClientConVar(pEntity, "cl_language", NULL, 0);