Fix gametype being clobbered when starting up a one-player server by marking it as netgame.

(There were other ways to fix this, but I figured we'd want to keep the netgame pause menu, so this was the simplest solution...)
This commit is contained in:
toaster 2018-10-21 12:51:18 +01:00
parent 2e3f6b09af
commit cbb1a0dd28

View file

@ -7421,6 +7421,7 @@ static void M_StartServer(INT32 choice)
{
paused = false;
SV_StartSinglePlayerServer();
multiplayer = true; // yeah, SV_StartSinglePlayerServer clobbers this...
D_MapChange(cv_nextmap.value, cv_newgametype.value, (boolean)cv_kartencore.value, 1, 1, false, false);
}
else