2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-09 02:50:09 +03:00

Update sv_main.cpp

This commit is contained in:
Splatt581 2024-05-13 14:20:15 +03:00 committed by GitHub
parent 9e2ce4714f
commit 5e4e8ef250
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2539,7 +2539,7 @@ void EXT_FUNC SV_ConnectClient_internal(void)
host_client->userinfo[MAX_INFO_STRING - 1] = 0; host_client->userinfo[MAX_INFO_STRING - 1] = 0;
SV_ExtractFromUserinfo(host_client); SV_ExtractFromUserinfo(host_client);
Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%lld", host_client->network_userid.m_SteamID), MAX_INFO_STRING); Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%lld", host_client->network_userid.m_SteamIDValidated), MAX_INFO_STRING);
host_client->datagram.flags = SIZEBUF_ALLOW_OVERFLOW; host_client->datagram.flags = SIZEBUF_ALLOW_OVERFLOW;
host_client->datagram.data = (byte *)host_client->datagram_buf; host_client->datagram.data = (byte *)host_client->datagram_buf;