From 443c51714a3e78eb47a1b10091f5852d86521b99 Mon Sep 17 00:00:00 2001 From: LJ Sonic Date: Thu, 2 Dec 2021 21:02:54 +0100 Subject: [PATCH] Fix KeyUp hook being called when the console is open --- src/d_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.c b/src/d_main.c index 679a596b3..99b3c3ebd 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -272,7 +272,7 @@ void D_ProcessEvents(void) if (eaten) continue; // ate the event - if (!hooked && G_LuaResponder(ev)) + if (!hooked && !CON_Ready() && G_LuaResponder(ev)) continue; G_Responder(ev);