mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 07:34:36 +00:00
Update VoteMenu.cs
This commit is contained in:
parent
9f4015c763
commit
ff53a28f73
1 changed files with 2 additions and 3 deletions
|
|
@ -377,7 +377,6 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
||||||
}
|
}
|
||||||
|
|
||||||
%msg = %client.nameBase @ " initiated a vote to skip the current mission.";
|
%msg = %client.nameBase @ " initiated a vote to skip the current mission.";
|
||||||
%blank = "next mission.";
|
|
||||||
$CMHasVoted[%client.guid]++;
|
$CMHasVoted[%client.guid]++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -511,12 +510,12 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
||||||
if(%isAdmin && !%client.adminVoteSet && !%client.ForceVote)
|
if(%isAdmin && !%client.adminVoteSet && !%client.ForceVote)
|
||||||
adminStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4);
|
adminStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4);
|
||||||
else
|
else
|
||||||
playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg, %blank);
|
playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
//exec("scripts/autoexec/VoteMenu.cs");
|
//exec("scripts/autoexec/VoteMenu.cs");
|
||||||
|
|
||||||
function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg, %blank)
|
function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg)
|
||||||
{
|
{
|
||||||
%clientsVoting = 0;
|
%clientsVoting = 0;
|
||||||
%count = ClientGroup.getCount();
|
%count = ClientGroup.getCount();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue