mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +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)
|
||||
{
|
||||
#ifndef REHLDS_FIXES
|
||||
client->sendinfo = FALSE;
|
||||
client->sendinfo_time = realtime + 1.0;
|
||||
#endif
|
||||
SV_ExtractFromUserinfo(client);
|
||||
SV_SendFullClientUpdateForAll(client);
|
||||
#ifdef REHLDS_FIXES
|
||||
client->sendinfo = FALSE;
|
||||
client->sendinfo_time = realtime + 1.0;
|
||||
#endif
|
||||
}
|
||||
|
||||
void SV_UpdateToReliableMessages(void)
|
||||
|
Loading…
Reference in New Issue
Block a user