mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-26 13:31:04 +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)
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user