- Fixed: Server CVars did not immediately revert to their saved values upon loading a save file.
https://forum.zdoom.org/viewtopic.php?f=2&t=70190
This commit is contained in:
parent
adf306d5b2
commit
69da5c23a3
2 changed files with 4 additions and 3 deletions
|
|
@ -2041,6 +2041,8 @@ void G_DoLoadGame ()
|
|||
|
||||
primaryLevel->BotInfo.RemoveAllBots(primaryLevel, true);
|
||||
|
||||
savegamerestore = true; // Use the player actors in the savegame
|
||||
|
||||
FString cvar;
|
||||
arc("importantcvars", cvar);
|
||||
if (!cvar.IsEmpty())
|
||||
|
|
@ -2066,7 +2068,6 @@ void G_DoLoadGame ()
|
|||
G_ReadVisited(arc);
|
||||
|
||||
// load a base level
|
||||
savegamerestore = true; // Use the player actors in the savegame
|
||||
bool demoplaybacksave = demoplayback;
|
||||
G_InitNew(map, false);
|
||||
demoplayback = demoplaybacksave;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue