mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
VoteOvertime Stopvote bug
This commit is contained in:
parent
cd954d6c3e
commit
fa234d69a5
1 changed files with 6 additions and 3 deletions
|
|
@ -449,10 +449,13 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
||||||
}
|
}
|
||||||
|
|
||||||
case "stopRunningVote":
|
case "stopRunningVote":
|
||||||
if(%client.isSuperAdmin || (%client.isAdmin && $Host::AllowAdminStopVote))
|
if($VOStatus !$="InProgress") //Dont allow a stop vote after time has expired, then no new time is set - VoteOverTime
|
||||||
{
|
{
|
||||||
adminStartNewVote(%client, %typename, %arg1, %arg2, %arg3, %arg4);
|
if(%client.isSuperAdmin || (%client.isAdmin && $Host::AllowAdminStopVote))
|
||||||
adminLog(%client, " stopped the vote in progress.");
|
{
|
||||||
|
adminStartNewVote(%client, %typename, %arg1, %arg2, %arg3, %arg4);
|
||||||
|
adminLog(%client, " stopped the vote in progress.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// LakRabbit Stuff
|
// LakRabbit Stuff
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue