From 36779cf88caeb8d72f3a51bd616b809b647d4c22 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 27 May 2018 16:15:05 +0300 Subject: [PATCH] - 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 --- src/d_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_main.cpp b/src/d_main.cpp index ed986beb7a..668dcf1ce6 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -2776,6 +2776,8 @@ void D_DoomMain (void) restart++; PClass::bShutdown = false; PClass::bVMOperational = false; + + gamestate = GS_STARTUP; } while (1); }