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:
parent
9e2ce4714f
commit
5e4e8ef250
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user