Skip to content
Snippets Groups Projects
Commit 443c5171 authored by LJ Sonic's avatar LJ Sonic
Browse files

Fix KeyUp hook being called when the console is open

parent 16251734
No related branches found
No related tags found
1 merge request!1664Fix `KeyUp` hook being called when the console is open
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment