From f2742cdf06baf8bac8cd7dc329ef192813ef9eee Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 30 Jan 2015 04:13:21 +1100 Subject: [PATCH] Test another potential fix --- host_cmd.c | 1 - sv_user.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/host_cmd.c b/host_cmd.c index 66227370..2d3d4dd0 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1824,7 +1824,6 @@ static void Host_PreSpawn_f (void) if (host_client->prespawned) { Con_Print("prespawn not valid -- already prespawned\n"); - SV_DropClient (false); // kicked return; } host_client->prespawned = true; diff --git a/sv_user.c b/sv_user.c index 3ac17f23..1dcdb76f 100644 --- a/sv_user.c +++ b/sv_user.c @@ -859,7 +859,7 @@ void SV_ReadClientMessage(void) *q = 0; if (strncasecmp(s, "spawn", 5) == 0 || strncasecmp(s, "begin", 5) == 0 - || strncasecmp(s, "prespawn", 8) == 0) + || (strncasecmp(s, "prespawn", 8) == 0 && !src_client->prespawned)) Cmd_ExecuteString (s, src_client, true); else if (PRVM_serverfunction(SV_ParseClientCommand)) { -- 2.39.2