From f3e94b1e35e1b97663f9269a94c667215b276aed Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Mon, 30 Mar 2020 16:00:31 -0400 Subject: [PATCH] Update VoteMenu.cs --- Classic/scripts/autoexec/VoteMenu.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classic/scripts/autoexec/VoteMenu.cs b/Classic/scripts/autoexec/VoteMenu.cs index 6a97545..4ce5618 100644 --- a/Classic/scripts/autoexec/VoteMenu.cs +++ b/Classic/scripts/autoexec/VoteMenu.cs @@ -155,7 +155,7 @@ function playerStartNewVote(%client, %typename, %arg1, %arg2, %arg3, %arg4, %cli %client.canVote = false; %client.rescheduleVote = schedule(($Host::voteSpread * 1000) + ($Host::voteTime * 1000) , 0, "resetVotePrivs", %client); - echo("New Vote Initiated by" SPC %client.nameBase SPC %typeName SPC %arg1 SPC %arg2 SPC %arg3 SPC %arg4); + echo("Vote Initiated by" SPC %client.nameBase SPC %typeName SPC %arg1 SPC %arg2 SPC %arg3 SPC %arg4); %VoteSoundRandom = getRandom(1,100); $VoteSoundRandom = %VoteSoundRandom; @@ -1047,6 +1047,8 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, % } playerStartNewVote(%client, %typename, %arg1, %arg2, %arg3, %arg4, %clientsVoting); } + default: + return; } }