Fix clients being able to reset their player state and respawn using donedl.

This commit is contained in:
Zack Middleton 2012-12-15 08:08:46 +00:00
parent 3bb7138b84
commit b943d506bf
1 changed files with 3 additions and 0 deletions

View File

@ -853,6 +853,9 @@ Downloads are finished
================== ==================
*/ */
static void SV_DoneDownload_f( client_t *cl ) { static void SV_DoneDownload_f( client_t *cl ) {
if ( cl->state == CS_ACTIVE )
return;
Com_DPrintf( "clientDownload: %s Done\n", cl->name); Com_DPrintf( "clientDownload: %s Done\n", cl->name);
// resend the game state to update any clients that entered during the download // resend the game state to update any clients that entered during the download
SV_SendClientGameState(cl); SV_SendClientGameState(cl);