From af4982fd82a5de4ae80557460ea7e2f17e7cbda9 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 15 Dec 2012 08:08:46 +0000 Subject: Fix clients being able to reset their player state and respawn using donedl. --- src/server/sv_client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/sv_client.c b/src/server/sv_client.c index 374dbf49..88231d16 100644 --- a/src/server/sv_client.c +++ b/src/server/sv_client.c @@ -630,6 +630,9 @@ Downloads are finished ================== */ static void SV_DoneDownload_f( client_t *cl ) { + if ( cl->state == CS_ACTIVE ) + return; + Com_DPrintf( "clientDownload: %s Done\n", cl->name); // resend the game state to update any clients that entered during the download SV_SendClientGameState(cl); -- cgit