- restore startup game state on restart

At least values of custom server CVARs were not restored because of this

https://forum.zdoom.org/viewtopic.php?t=60711
This commit is contained in:
alexey.lysiuk 2018-05-27 16:15:05 +03:00
parent e085a8d58a
commit 36779cf88c
1 changed files with 2 additions and 0 deletions

View File

@ -2776,6 +2776,8 @@ void D_DoomMain (void)
restart++;
PClass::bShutdown = false;
PClass::bVMOperational = false;
gamestate = GS_STARTUP;
}
while (1);
}