- fixed: The language ID was set before reading the config.

This essentially rendered saving the language CVAR useless.
This commit is contained in:
Christoph Oelckers 2019-02-19 00:29:22 +01:00
parent 91206f12be
commit 10a017e104

View file

@ -2027,8 +2027,6 @@ static void D_DoomInit()
gamestate = GS_STARTUP;
SetLanguageIDs ();
const char *v = Args->CheckValue("-rngseed");
if (v)
{
@ -2047,6 +2045,7 @@ static void D_DoomInit()
if (!batchrun) Printf ("M_LoadDefaults: Load system defaults.\n");
M_LoadDefaults (); // load before initing other systems
SetLanguageIDs ();
}
//==========================================================================