Allow using sm_nominate without args from console (#1803)
This commit is contained in:
parent
52da989762
commit
5f7b22d2a4
@ -197,15 +197,7 @@ public Action Command_Nominate(int client, int args)
|
|||||||
|
|
||||||
if (args == 0)
|
if (args == 0)
|
||||||
{
|
{
|
||||||
if (source == SM_REPLY_TO_CHAT)
|
OpenNominationMenu(client);
|
||||||
{
|
|
||||||
OpenNominationMenu(client);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ReplyToCommand(client, "[SM] Usage: sm_nominate <mapname>");
|
|
||||||
}
|
|
||||||
|
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user