Fix online players being unable to vote (oops)
This commit is contained in:
parent
f9c0e7fb9c
commit
57d9243e08
1 changed files with 1 additions and 1 deletions
|
|
@ -1987,7 +1987,7 @@ void Y_VoteTicker(void)
|
|||
if (voteclient.playerinfo[i].delay)
|
||||
voteclient.playerinfo[i].delay--;
|
||||
|
||||
if (Y_PlayerIDCanVote(i)
|
||||
if (Y_PlayerIDCanVote(p)
|
||||
&& !voteclient.playerinfo[i].delay
|
||||
&& g_pickedVote == VOTE_NOT_PICKED && g_votes[p] == VOTE_NOT_PICKED)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue