don't let menu inputs slide through the voting screen

This commit is contained in:
SinnamonLat 2022-05-24 01:22:47 +02:00
parent 9b2fe3182d
commit ecf7edd55f

View file

@ -1510,7 +1510,7 @@ void Y_VoteTicker(void)
if ((playeringame[p] && !players[p].spectator) if ((playeringame[p] && !players[p].spectator)
&& !voteclient.playerinfo[i].delay && !voteclient.playerinfo[i].delay
&& pickedvote == -1 && votes[p] == -1) && pickedvote == -1 && votes[p] == -1 && menuactive == false)
{ {
if (G_PlayerInputDown(i, gc_up, 0)) if (G_PlayerInputDown(i, gc_up, 0))
{ {