Update VoteMenu.cs

This commit is contained in:
ChocoTaco1 2020-09-18 13:38:58 -04:00
parent 4869e3b821
commit 21da7700e5

View file

@ -570,14 +570,6 @@ function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %tea
}
else
{
if(%typeName $= "VoteChangeTimeLimit")
{
if(%arg1 $= "999")
%time = "Unlimited";
else
%time = %arg1;
}
%count = ClientGroup.getCount();
for(%i = 0; %i < %count; %i++)
{
@ -592,6 +584,7 @@ function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %tea
case "VoteSkipMission":
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "skip the mission");
case "VoteChangeTimeLimit":
if(%arg1 $= "999") %time = "Unlimited"; else %time = %arg1;
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "change the time limit to", %time);
case "VoteKickPlayer":
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "kick player", %arg1.name);