mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Moved
This commit is contained in:
parent
73ee6d7072
commit
6407559211
|
|
@ -880,18 +880,21 @@ function DefaultGame::voteChangeTimeLimit( %game, %admin, %newLimit )
|
||||||
// Reset the voted time limit when changing mission
|
// Reset the voted time limit when changing mission
|
||||||
$TimeLimitChanged = 1;
|
$TimeLimitChanged = 1;
|
||||||
|
|
||||||
|
//Log Vote %
|
||||||
%key = "Passed";
|
%key = "Passed";
|
||||||
|
votePercentLog(%newLimit, %typeName, %key, %game.totalVotesFor, %game.totalVotesAgainst, %totalVotes, %game.totalVotesNone);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
messageAll('MsgVoteFailed', '\c2The vote to change the mission time limit did not pass: %1 percent.', mFloor(%game.totalVotesFor/(ClientGroup.getCount() - $HostGameBotCount - %game.totalVotesNone) * 100));
|
messageAll('MsgVoteFailed', '\c2The vote to change the mission time limit did not pass: %1 percent.', mFloor(%game.totalVotesFor/(ClientGroup.getCount() - $HostGameBotCount - %game.totalVotesNone) * 100));
|
||||||
|
|
||||||
|
//Log Vote %
|
||||||
|
%key = "Failed";
|
||||||
|
votePercentLog(%newLimit, %typeName, %key, %game.totalVotesFor, %game.totalVotesAgainst, %totalVotes, %game.totalVotesNone);
|
||||||
|
|
||||||
// VoteOvertime
|
// VoteOvertime
|
||||||
ResetVOall(%game);
|
ResetVOall(%game);
|
||||||
|
|
||||||
%key = "Failed";
|
|
||||||
}
|
}
|
||||||
//Log Vote %
|
|
||||||
votePercentLog(%newLimit, %typeName, %key, %game.totalVotesFor, %game.totalVotesAgainst, %totalVotes, %game.totalVotesNone);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//if the match has been started, reset the end of match countdown
|
//if the match has been started, reset the end of match countdown
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue