End our auth session immediately
This commit is contained in:
@@ -434,6 +434,7 @@ DETOUR_DECL_MEMBER9(CBaseServer__ConnectClient, IClient *, netadr_t &, address,
|
||||
bool NoSteam = g_SvNoSteam.GetInt() || !BLoggedOn();
|
||||
bool SteamAuthFailed = false;
|
||||
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(!NoSteam)
|
||||
|
||||
Reference in New Issue
Block a user