fix menu button

This commit is contained in:
minenice55 2026-02-15 18:06:48 -05:00
parent ead335b1fd
commit 0a6e66ae12

View file

@ -1387,9 +1387,7 @@ boolean M_Responder(event_t *ev)
// (but still allow shift keyup so caps doesn't get stuck)
return false;
}
else if (menustack[0])
{
if (ev->type == ev_keydown)
else if (ev->type == ev_keydown)
{
ch = ev->data1;
@ -1407,7 +1405,9 @@ boolean M_Responder(event_t *ev)
break;
}
}
else if (ev->type == ev_joystick && deviceplayer == 0 && joywait < I_GetTime())
else if (menustack[0])
{
if (ev->type == ev_joystick && deviceplayer == 0 && joywait < I_GetTime())
{
if (ev->data1 == 1)
{