mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Readd voting cheating, just in an entirely different way
Will need tested for desyncs, since it adds some RNG into the vote ticker. Which may or may not matter.
This commit is contained in:
parent
5f4c0bb052
commit
8f9595b72f
1 changed files with 2 additions and 0 deletions
|
@ -2410,6 +2410,8 @@ void Y_VoteTicker(void)
|
|||
if (tempvotes[((pickedvote + voteclient.roffset + i) % numvotes)] == pickedvote)
|
||||
{
|
||||
voteclient.rendoff = voteclient.roffset+i;
|
||||
if (P_RandomChance(FRACUNIT/1024)) // Let it cheat occasionally~
|
||||
voteclient.rendoff++;
|
||||
S_ChangeMusicInternal("voteeb", false);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue