- 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
(cherry picked from commit 36779cf88c)
This commit is contained in:
alexey.lysiuk 2018-05-27 16:15:05 +03:00 committed by drfrag666
parent 94b68e76f6
commit 4a0ef2edf1

View file

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