Fix FollowCSGOServerGuidelines setting being ignored in SDKTools (always on).
This commit is contained in:
parent
5815e49d93
commit
0c8e6e2918
@ -173,17 +173,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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user