Speculative fix for bot issues with SteamAuthstringValidation (r=psychonic).
This commit is contained in:
parent
e3cb33bbda
commit
67a2fe3751
@ -2019,7 +2019,7 @@ bool CPlayer::IsAuthorized()
|
|||||||
bool CPlayer::IsAuthStringValidated()
|
bool CPlayer::IsAuthStringValidated()
|
||||||
{
|
{
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
if (g_Players.m_bAuthstringValidation && !g_HL2.IsLANServer())
|
if (!IsFakeClient() && g_Players.m_bAuthstringValidation && !g_HL2.IsLANServer())
|
||||||
{
|
{
|
||||||
#if SOURCE_ENGINE == SE_DOTA
|
#if SOURCE_ENGINE == SE_DOTA
|
||||||
return engine->IsClientFullyAuthenticated(m_iIndex);
|
return engine->IsClientFullyAuthenticated(m_iIndex);
|
||||||
|
Loading…
Reference in New Issue
Block a user