Fixed an odd bug

This commit is contained in:
TehRealSalt 2018-02-27 20:46:01 -05:00
parent adfe3337cb
commit 29e4c6764d

View file

@ -2367,6 +2367,16 @@ void Y_VoteTicker(void)
} }
if (server) if (server)
{
if (timer == 0)
{
for (i = 0; i < MAXPLAYERS; i++)
{
if ((playeringame[i] && !players[i].spectator) && votes[i] == -1)
votes[i] = 3;
}
}
else
{ {
if (splitscreen) if (splitscreen)
{ {
@ -2381,6 +2391,7 @@ void Y_VoteTicker(void)
return; return;
} }
} }
}
timer = 0; timer = 0;
if (voteendtic == -1) if (voteendtic == -1)