Fixed sm_drug disable functionality not functioning (bug 5218, r=psychonic).

This commit is contained in:
FlaminSarge 2012-03-04 14:13:38 -05:00
parent 821fcd5be4
commit a31bb79b78

View File

@ -264,7 +264,7 @@ public Action:Command_Drug(client, args)
{
decl String:arg2[2];
GetCmdArg(2, arg2, sizeof(arg2));
if (arg2[0])
if (StringToInt(arg2))
{
toggle = 1;
}