fix: vote orgy (for no force mode)
This commit is contained in:
parent
df1a0ca8f1
commit
5a8b04c913
@ -361,7 +361,8 @@ final function TallyVotes(optional bool bForce)
|
|||||||
c+=ActiveVotes[i].NumVotes;
|
c+=ActiveVotes[i].NumVotes;
|
||||||
if (GetPctOf(ActiveVotes[i].NumVotes,NumVotees)>=MapWinPct)
|
if (GetPctOf(ActiveVotes[i].NumVotes,NumVotees)>=MapWinPct)
|
||||||
{
|
{
|
||||||
if (NumVotees>=4 && ActiveVotes.Length==1) // If more then 4 voters and everyone voted same map?!!! Give the mapvote some orgy.
|
// If more then 4 voters and everyone voted same map?!!! Give the mapvote some orgy.
|
||||||
|
if (!bNoMapVoteOrgy && NumVotees >= VoteNumForOrgy && ActiveVotes.Length==1)
|
||||||
{
|
{
|
||||||
for (j=(ActiveVoters.Length-1); j>=0; --j)
|
for (j=(ActiveVoters.Length-1); j>=0; --j)
|
||||||
ActiveVoters[j].PlayerOwner.ClientPlaySound(AnnouncerCues[13]);
|
ActiveVoters[j].PlayerOwner.ClientPlaySound(AnnouncerCues[13]);
|
||||||
|
Loading…
Reference in New Issue
Block a user