mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
BIND_DEVTOOLS_CONSOLE
This commit is contained in:
parent
bb4f573d0f
commit
5834233162
6 changed files with 8 additions and 0 deletions
|
|
@ -204,6 +204,9 @@ void Hud::processInput(bool visible) {
|
|||
setPause(true);
|
||||
}
|
||||
}
|
||||
if (!pause && Events::active(BIND_DEVTOOLS_CONSOLE)) {
|
||||
showOverlay(assets->getLayout("core:console"), false);
|
||||
}
|
||||
if (!Window::isFocused() && !pause && !isInventoryOpen()) {
|
||||
setPause(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue