mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
lua: hud.pause/resume + menu:back() method
This commit is contained in:
parent
f64a851a24
commit
0c0d850d5d
3 changed files with 42 additions and 10 deletions
|
|
@ -545,6 +545,10 @@ void Hud::setPause(bool pause) {
|
|||
return;
|
||||
}
|
||||
this->pause = pause;
|
||||
|
||||
if (inventoryOpen) {
|
||||
closeInventory();
|
||||
}
|
||||
|
||||
auto menu = gui->getMenu();
|
||||
if (pause) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue