mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-06 02:30:44 +03:00
Merge pull request #364 from WPMGPRoSToTeMa/patch-7
Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged.
This commit is contained in:
commit
0cf0746afb
@ -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…
x
Reference in New Issue
Block a user