From 57d9243e08dc68375b7868ce21a2362991c8ec8f Mon Sep 17 00:00:00 2001 From: NepDisk Date: Fri, 12 Dec 2025 22:46:18 -0500 Subject: [PATCH] Fix online players being unable to vote (oops) --- 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 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) {