diff --git a/src/y_inter.c b/src/y_inter.c index f8e735fa..26c52051 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -2509,7 +2509,7 @@ void Y_SetupVoteFinish(INT8 pick, INT8 level) for (i = 0; i < MAXPLAYERS; i++) { - if ((playeringame[consoleplayer] && !players[consoleplayer].spectator) && votes[i] == -1) + if ((playeringame[i] && !players[i].spectator) && votes[i] == -1) votes[i] = 3; if (votes[i] == -1)