mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged
This commit is contained in:
parent
c55837e42a
commit
facbbafb8a
@ -4722,10 +4722,16 @@ qboolean SV_SendClientDatagram(client_t *client)
|
|||||||
|
|
||||||
void SV_UpdateUserInfo(client_t *client)
|
void SV_UpdateUserInfo(client_t *client)
|
||||||
{
|
{
|
||||||
|
#ifndef REHLDS_FIXES
|
||||||
client->sendinfo = FALSE;
|
client->sendinfo = FALSE;
|
||||||
client->sendinfo_time = realtime + 1.0;
|
client->sendinfo_time = realtime + 1.0;
|
||||||
|
#endif
|
||||||
SV_ExtractFromUserinfo(client);
|
SV_ExtractFromUserinfo(client);
|
||||||
SV_SendFullClientUpdateForAll(client);
|
SV_SendFullClientUpdateForAll(client);
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
client->sendinfo = FALSE;
|
||||||
|
client->sendinfo_time = realtime + 1.0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void SV_UpdateToReliableMessages(void)
|
void SV_UpdateToReliableMessages(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user