Fixed sm_drug not toggling correctly (bug 5218, r=psychonic).

This commit is contained in:
FlaminSarge 2012-04-14 00:12:56 +01:00
parent 315a5c642e
commit 2e34f2e67c

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;
}