mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-26 21:41:06 +03:00
SV_ParseResourceList: Do not uploading according to sv_allowupload cvar
This commit is contained in:
parent
516bb93627
commit
59ed3f6867
@ -509,8 +509,13 @@ void SV_ParseResourceList(client_t *pSenderClient)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
if (sv_allow_upload.value != 0.0f)
|
||||||
|
#endif //REHLDS_FIXES
|
||||||
|
{
|
||||||
host_client->uploading = TRUE;
|
host_client->uploading = TRUE;
|
||||||
host_client->uploaddoneregistering = FALSE;
|
host_client->uploaddoneregistering = FALSE;
|
||||||
|
|
||||||
SV_BatchUploadRequest(host_client);
|
SV_BatchUploadRequest(host_client);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user