From 33b217bcc945be0c8e315a5357169e9518312de3 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 1 Feb 2023 01:56:10 -0500 Subject: [PATCH] - unlatch cvars before checking cvar map redirections --- src/g_level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_level.cpp b/src/g_level.cpp index 208913566..101c942a8 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -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;