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:
parent
2455cbe343
commit
8a1b1fdb58
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user