mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-26 05:41:07 +00:00
- fixed: The language ID was set before reading the config.
This essentially rendered saving the language CVAR useless.
This commit is contained in:
parent
91206f12be
commit
10a017e104
1 changed files with 1 additions and 2 deletions
|
@ -2027,8 +2027,6 @@ static void D_DoomInit()
|
||||||
|
|
||||||
gamestate = GS_STARTUP;
|
gamestate = GS_STARTUP;
|
||||||
|
|
||||||
SetLanguageIDs ();
|
|
||||||
|
|
||||||
const char *v = Args->CheckValue("-rngseed");
|
const char *v = Args->CheckValue("-rngseed");
|
||||||
if (v)
|
if (v)
|
||||||
{
|
{
|
||||||
|
@ -2047,6 +2045,7 @@ static void D_DoomInit()
|
||||||
|
|
||||||
if (!batchrun) Printf ("M_LoadDefaults: Load system defaults.\n");
|
if (!batchrun) Printf ("M_LoadDefaults: Load system defaults.\n");
|
||||||
M_LoadDefaults (); // load before initing other systems
|
M_LoadDefaults (); // load before initing other systems
|
||||||
|
SetLanguageIDs ();
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue