mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-02-22 07:33:33 +00:00
Removed
This commit is contained in:
parent
3bd4577832
commit
14caa5aca5
3 changed files with 6 additions and 49 deletions
|
|
@ -581,12 +581,12 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
|||
case "stopRunningVote":
|
||||
if(%client.isSuperAdmin || (%client.isAdmin && $Host::AllowAdminStopVote))
|
||||
{
|
||||
%curTimeLeftMS = ($Host::TimeLimit * 60 * 1000) + $missionStartTime - getSimTime();
|
||||
if(%curTimeLeftMS <= 0) //Dont allow a stop vote after time has expired, then no new time is set - VoteOverTime
|
||||
{
|
||||
messageClient(%client, "", "\c2Can't stop time vote after time has expired.");
|
||||
return;
|
||||
}
|
||||
// %curTimeLeftMS = ($Host::TimeLimit * 60 * 1000) + $missionStartTime - getSimTime();
|
||||
// if(%curTimeLeftMS <= 0) //Dont allow a stop vote after time has expired, then no new time is set - VoteOverTime
|
||||
// {
|
||||
// messageClient(%client, "", "\c2Can't stop vote after time has expired.");
|
||||
// return;
|
||||
// }
|
||||
|
||||
stopCurrentVote(%client);
|
||||
adminLog(%client, " stopped the vote in progress.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue