mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- unlatch cvars before checking cvar map redirections
This commit is contained in:
parent
04ea28defc
commit
33b217bcc9
1 changed files with 1 additions and 1 deletions
|
@ -548,6 +548,7 @@ void G_InitNew (const char *mapname, bool bTitleLevel)
|
|||
if (primaryLevel->info != nullptr)
|
||||
staticEventManager.WorldUnloaded(FString()); // [MK] don't pass the new map, as it's not a level transition
|
||||
|
||||
UnlatchCVars ();
|
||||
if (!savegamerestore)
|
||||
{
|
||||
G_ClearHubInfo();
|
||||
|
@ -565,7 +566,6 @@ void G_InitNew (const char *mapname, bool bTitleLevel)
|
|||
mapname = redirectmap->MapName;
|
||||
}
|
||||
|
||||
UnlatchCVars ();
|
||||
G_VerifySkill();
|
||||
UnlatchCVars ();
|
||||
globalfreeze = globalchangefreeze = 0;
|
||||
|
|
Loading…
Reference in a new issue