Fix AllowClLanguageVar setting being ignored in CS:GO.
This commit is contained in:
		
							parent
							
								
									8ad5862461
								
							
						
					
					
						commit
						9924a28acf
					
				| @ -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); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user