]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Attempt to fix a pure evil crash (untested)
authorMario <zacjardine@y7mail.com>
Thu, 29 Jan 2015 16:51:53 +0000 (03:51 +1100)
committerMario <zacjardine@y7mail.com>
Thu, 29 Jan 2015 16:51:53 +0000 (03:51 +1100)
host_cmd.c

index 2d3d4dd06c051694940a635c7d51244ef5154e3f..66227370b1ea2a22adcbd8c98fafaf14563facd3 100644 (file)
@@ -1824,6 +1824,7 @@ 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;