From 2a45e97403dd43e7f55d7fa0bf565dca0a051f10 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 6 Oct 2002 15:07:48 +0000 Subject: [PATCH] clean up map changes a little more git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2510 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } -- 2.39.2