Fixed an odd bug
This commit is contained in:
parent
adfe3337cb
commit
29e4c6764d
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue