- set language cvar to global config, it should not be game-specific

This commit is contained in:
Rachael Alexanderson 2019-03-03 01:49:21 -05:00 committed by Christoph Oelckers
parent 974560cb84
commit 8fab907885

View file

@ -129,7 +129,7 @@ CUSTOM_CVAR(Float, teamdamage, 0.f, CVAR_SERVERINFO | CVAR_NOINITCALL)
}
}
CUSTOM_CVAR(String, language, "auto", CVAR_ARCHIVE | CVAR_NOINITCALL)
CUSTOM_CVAR(String, language, "auto", CVAR_ARCHIVE | CVAR_NOINITCALL | CVAR_GLOBALCONFIG)
{
SetLanguageIDs();
GStrings.UpdateLanguage();