From: havoc Date: Sun, 6 Oct 2002 15:07:48 +0000 (+0000) Subject: clean up map changes a little more X-Git-Tag: RELEASE_0_2_0_RC1~144 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=2a45e97403dd43e7f55d7fa0bf565dca0a051f10;p=xonotic%2Fdarkplaces.git clean up map changes a little more git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2510 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 0a3f978d..b026fa8b 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1598,11 +1598,9 @@ void Host_PerformSpawnServerAndLoadGame(void) if (sv_loadgame[0]) Host_PerformLoadGame(sv_loadgame); else if (sv_spawnmap[0]) - { SV_SpawnServer(sv_spawnmap); - if (sv.active && cls.state == ca_disconnected) - Cmd_ExecuteString ("connect local", src_command); - } + if (sv.active && cls.state == ca_disconnected) + Cmd_ExecuteString ("connect local", src_command); sv_loadgame[0] = 0; sv_spawnmap[0] = 0; }