Fixed sm_drug not toggling correctly (bug 5218, r=psychonic).
This commit is contained in:
parent
315a5c642e
commit
2e34f2e67c
@ -264,7 +264,7 @@ public Action:Command_Drug(client, args)
|
|||||||
{
|
{
|
||||||
decl String:arg2[2];
|
decl String:arg2[2];
|
||||||
GetCmdArg(2, arg2, sizeof(arg2));
|
GetCmdArg(2, arg2, sizeof(arg2));
|
||||||
if (arg2[0])
|
if (StringToInt(arg2))
|
||||||
{
|
{
|
||||||
toggle = 1;
|
toggle = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user