2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-08 10:39:05 +03:00

Update sv_steam3.cpp

This commit is contained in:
Splatt581 2024-05-13 14:16:55 +03:00 committed by GitHub
parent 2455cbe343
commit 8a1b1fdb58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,6 +174,12 @@ void CSteam3Server::OnGSClientApprove(GSClientApprove_t *pGSClientSteam2Accept)
if (!cl)
return;
cl->network_userid.m_SteamIDValidated = pGSClientSteam2Accept->m_SteamID.ConvertToUint64();
host_client->network_userid.m_SteamIDValidated = pGSClientSteam2Accept->m_SteamID.ConvertToUint64();
Info_SetValueForStarKey(cl->userinfo, "*sid", va("%lld", cl->network_userid.m_SteamIDValidated), MAX_INFO_STRING);
Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%lld", host_client->network_userid.m_SteamIDValidated), MAX_INFO_STRING);
if (SV_FilterUser(&cl->network_userid))
{
char msg[256];