add Command line param "language"

This commit is contained in:
q4a 2021-05-30 18:04:37 +03:00
parent d349b1769a
commit 51ba28fae1

View File

@ -2743,7 +2743,14 @@ void CL_InitLanguageCvar()
}
else
{
cl_language.SetValue( "english" );
if ( CommandLine()->CheckParm( "-language" ) )
{
cl_language.SetValue( CommandLine()->ParmValue( "-language", "english") );
}
else
{
cl_language.SetValue( "english" );
}
}
}