From: molivier Date: Wed, 2 Oct 2002 12:02:15 +0000 (+0000) Subject: Fixed dedicated server (the server was never really spawned) X-Git-Tag: RELEASE_0_2_0_RC1~161 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=fe84086670f2486d46be25b03cf2263e8e99dfa1 Fixed dedicated server (the server was never really spawned) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2490 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 1ac4b6cb..423ba2ff 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1593,7 +1593,7 @@ void Host_Stopdemo_f (void) // we have to delay map and game loads until AFTER video is initialized void Host_PerformSpawnServerAndLoadGame(void) { - if (vid_hidden) + if (vid_hidden && cls.state != ca_dedicated) return; if (sv_loadgame[0]) Host_PerformLoadGame(sv_loadgame);