From f9c0e7fb9c772978b65ba10d05fea81fcc6d83cd Mon Sep 17 00:00:00 2001 From: NepDisk Date: Fri, 12 Dec 2025 22:37:34 -0500 Subject: [PATCH 1/2] Fix illegal vote netxcmd --- 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 d196758c9..8206f0915 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -2032,7 +2032,7 @@ void Y_VoteTicker(void) if (G_PlayerInputDown(i, gc_accelerate, false, DEADZONE_BUTTON) && pressed == false) { - D_ModifyClientVote(i, voteclient.playerinfo[i].selection); + D_ModifyClientVote(g_localplayers[i], voteclient.playerinfo[i].selection); pressed = true; } } From 57d9243e08dc68375b7868ce21a2362991c8ec8f Mon Sep 17 00:00:00 2001 From: NepDisk Date: Fri, 12 Dec 2025 22:46:18 -0500 Subject: [PATCH 2/2] 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) {