From d07160bcbaedf5acf075474ddc5f022dc8afd864 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Tue, 20 Feb 2018 18:18:10 -0500 Subject: [PATCH] Quick fix --- src/y_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/y_inter.c b/src/y_inter.c index f8e735fae..26c52051a 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)