2
0
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:
s1lentq 2024-03-18 22:04:02 +07:00
parent 516bb93627
commit 59ed3f6867

View File

@ -509,8 +509,13 @@ void SV_ParseResourceList(client_t *pSenderClient)
}
}
host_client->uploading = TRUE;
host_client->uploaddoneregistering = FALSE;
#ifdef REHLDS_FIXES
if (sv_allow_upload.value != 0.0f)
#endif //REHLDS_FIXES
{
host_client->uploading = TRUE;
host_client->uploaddoneregistering = FALSE;
SV_BatchUploadRequest(host_client);
SV_BatchUploadRequest(host_client);
}
}