Fix console not being openable from the main menu
This commit is contained in:
parent
64ebb88906
commit
2c022185f4
|
@ -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; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue