diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-12-15 08:08:46 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:26:41 +0000 |
commit | af4982fd82a5de4ae80557460ea7e2f17e7cbda9 (patch) | |
tree | 5d3fdfdb124578cf019741d9b0e2cb8418de75d7 /src/server | |
parent | 2fec57623c548007b60a77db7b1e097713c05bc8 (diff) |
Fix clients being able to reset their player state and respawn using donedl.
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/sv_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |