- 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
|
|
@ -627,7 +627,7 @@ EXTERN_CVAR (Float, sv_gravity)
|
|||
|
||||
bool D_SendServerInfoChange (FBaseCVar *cvar, UCVarValue value, ECVarType type)
|
||||
{
|
||||
if (gamestate != GS_STARTUP && !demoplayback)
|
||||
if (gamestate != GS_STARTUP && !demoplayback && !savegamerestore)
|
||||
{
|
||||
if (netgame && !players[consoleplayer].settings_controller)
|
||||
{
|
||||
|
|
@ -657,7 +657,7 @@ bool D_SendServerInfoChange (FBaseCVar *cvar, UCVarValue value, ECVarType type)
|
|||
|
||||
bool D_SendServerFlagChange (FBaseCVar *cvar, int bitnum, bool set, bool silent)
|
||||
{
|
||||
if (gamestate != GS_STARTUP && !demoplayback)
|
||||
if (gamestate != GS_STARTUP && !demoplayback && !savegamerestore)
|
||||
{
|
||||
if (netgame && !players[consoleplayer].settings_controller)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue