mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update gui.create_frame return value
This commit is contained in:
parent
8468ab184d
commit
8ee2edef5c
5 changed files with 37 additions and 21 deletions
|
|
@ -240,7 +240,7 @@ void LevelScreen::update(float delta) {
|
|||
|
||||
auto menu = gui.getMenu();
|
||||
bool inputLocked =
|
||||
menu->hasOpenPage() || hud->isInventoryOpen() || gui.isFocusCaught();
|
||||
gui.getActiveFrame() || hud->isInventoryOpen() || gui.isFocusCaught();
|
||||
bool paused = hud->isPause();
|
||||
if (!paused) {
|
||||
world.updateTimers(delta);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue