You really should use your booleans right! sm_cancelvote fixed...
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
This commit is contained in:
parent
acfd5204d9
commit
6b18b901ae
@ -605,7 +605,7 @@ public Action:Command_Kick(client, args)
|
|||||||
|
|
||||||
public Action:Command_CancelVote(client, args)
|
public Action:Command_CancelVote(client, args)
|
||||||
{
|
{
|
||||||
if (IsVoteInProgress())
|
if (!IsVoteInProgress())
|
||||||
{
|
{
|
||||||
ReplyToCommand(client, "[SM] %t", "Vote Not In Progress");
|
ReplyToCommand(client, "[SM] %t", "Vote Not In Progress");
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
|
Loading…
Reference in New Issue
Block a user