diff --git a/src/y_inter.c b/src/y_inter.c index 8206f0915..75fe31426 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -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) {