End our auth session immediately
This commit is contained in:
parent
c89f843e65
commit
22cbf25c05
@ -434,6 +434,7 @@ DETOUR_DECL_MEMBER9(CBaseServer__ConnectClient, IClient *, netadr_t &, address,
|
|||||||
bool NoSteam = g_SvNoSteam.GetInt() || !BLoggedOn();
|
bool NoSteam = g_SvNoSteam.GetInt() || !BLoggedOn();
|
||||||
bool SteamAuthFailed = false;
|
bool SteamAuthFailed = false;
|
||||||
EBeginAuthSessionResult result = BeginAuthSession(pvTicket, cbTicket, g_lastClientSteamID);
|
EBeginAuthSessionResult result = BeginAuthSession(pvTicket, cbTicket, g_lastClientSteamID);
|
||||||
|
EndAuthSession(g_lastClientSteamID); // The engine might start its own auth session so end this one
|
||||||
if(result != k_EBeginAuthSessionResultOK)
|
if(result != k_EBeginAuthSessionResultOK)
|
||||||
{
|
{
|
||||||
if(!NoSteam)
|
if(!NoSteam)
|
||||||
|
Loading…
Reference in New Issue
Block a user