mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 02:01:15 +00:00
Remove a really minor 1-tic discrepancy
This commit is contained in:
parent
41f09816ce
commit
52d835cded
1 changed files with 3 additions and 3 deletions
|
@ -2330,6 +2330,9 @@ void Y_VoteTicker(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (votedata.numvotes >= numplayers)
|
||||
votedata.timeleft = 0;
|
||||
|
||||
if (votedata.timeleft == 0 && voteendtic == -1)
|
||||
{
|
||||
votedata.pickedvote = P_RandomKey(votedata.numvotes);
|
||||
|
@ -2337,9 +2340,6 @@ void Y_VoteTicker(void)
|
|||
S_StartSound(NULL, sfx_ncitem);
|
||||
voteendtic = votetic+(3*TICRATE);
|
||||
}
|
||||
|
||||
if (votedata.numvotes >= numplayers)
|
||||
votedata.timeleft = 0;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue