mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-12-04 01:41:40 +00:00
Fix clients being able to reset their player state and respawn using donedl.
This commit is contained in:
parent
3bb7138b84
commit
b943d506bf
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue