Fix KeyUp hook being called when the console is open

This commit is contained in:
LJ Sonic 2021-12-02 21:02:54 +01:00
parent 16251734ce
commit 443c51714a

View file

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