From d6d561f0e82a0067b2c0b28566449489b1d0a5e6 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sat, 25 Dec 2021 07:10:56 -0500 Subject: [PATCH] Unset delay when not pressing anything Allows for mashing a button to be just as responsive as before --- src/k_menufunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 885f4fed2..f408fea3f 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -1234,7 +1234,7 @@ static void M_UpdateMenuCMD(UINT8 i) if (menucmd[i].dpad_ud == 0 && menucmd[i].dpad_lr == 0 && menucmd[i].buttons == 0) { // Reset delay count with no buttons. - menucmd[i].delayCount = 0; + menucmd[i].delay = menucmd[i].delayCount = 0; } }