Fix console not being openable from the main menu

This commit is contained in:
Agent X 2024-02-21 10:52:49 -05:00
parent 64ebb88906
commit 2c022185f4
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ bool djui_interactable_on_key_down(int scancode) {
return true; return true;
} }
if (!gDjuiChatBoxFocus && gDjuiChatBox != NULL) { if (!gDjuiChatBoxFocus) {
for (int i = 0; i < MAX_BINDS; i++) { for (int i = 0; i < MAX_BINDS; i++) {
if (scancode == (int)configKeyConsole[i]) { djui_console_toggle(); break; } if (scancode == (int)configKeyConsole[i]) { djui_console_toggle(); break; }
} }