added in-production PointServerCommandFilter config

This commit is contained in:
BotoX
2016-01-22 23:25:07 +01:00
parent c532a321fa
commit f5ca547c96
3 changed files with 135 additions and 3 deletions
@@ -259,11 +259,11 @@ void LoadConfig()
Cleanup();
static char sConfigFile[PLATFORM_MAX_PATH];
BuildPath(Path_SM, sConfigFile, sizeof(sConfigFile), "configs/PointDetour.cfg");
BuildPath(Path_SM, sConfigFile, sizeof(sConfigFile), "configs/PointServerCommandFilter.cfg");
if(!FileExists(sConfigFile))
SetFailState("Could not find config: \"%s\"", sConfigFile);
KeyValues Config = new KeyValues("PointDetour");
KeyValues Config = new KeyValues("PointServerCommandFilter");
if(!Config.ImportFromFile(sConfigFile))
{
delete Config;