Skip to content

Commit

Permalink
Fix FollowCSGOServerGuidelines setting being ignored in SDKTools (alw…
Browse files Browse the repository at this point in the history
…ays on).
  • Loading branch information
psychonic committed Mar 21, 2016
1 parent d4c4274 commit 617c4fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/HalfLife2.cpp
Expand Up @@ -193,17 +193,13 @@ ConfigResult CHalfLife2::OnSourceModConfigChanged(const char *key, const char *v
if (strcasecmp(value, "no") == 0)
{
m_bFollowCSGOServerGuidelines = false;
return ConfigResult_Accept;
}
else if (strcasecmp(value, "yes") == 0)
{
m_bFollowCSGOServerGuidelines = true;
return ConfigResult_Accept;
}

return ConfigResult_Reject;
#else
return ConfigResult_Accept;
#endif
}

Expand Down

0 comments on commit 617c4fb

Please sign in to comment.