PointServerCommandFilter: Execute Commands always.

Just execute the command trough sourcemod, to bypass the damn
bspconvar_whitelist shenanigans. Cause that shitty file resets each damn
update..
This commit is contained in:
zaCade 2018-07-19 13:52:43 +02:00
parent 00922f6f9c
commit 82621ea1e1

View File

@ -132,7 +132,7 @@ public MRESReturn AcceptInput(int pThis, Handle hReturn, Handle hParams)
DHookSetReturn(hReturn, false);
return MRES_Supercede;
}
else if(iAction == Plugin_Changed || bReplaced)
else if(iAction == Plugin_Changed || GetEngineVersion() == Engine_CSGO || bReplaced)
{
ServerCommand(sCommand);
DHookSetReturn(hReturn, true);