Fix illegal vote netxcmd

This commit is contained in:
NepDisk 2025-12-12 22:37:34 -05:00
parent 382f1f1a82
commit f9c0e7fb9c

View file

@ -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;
}
}