mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: hud.close after hud.show_overlay bug
This commit is contained in:
parent
2783b0af7b
commit
303346f5e5
1 changed files with 3 additions and 0 deletions
|
|
@ -598,6 +598,9 @@ void Hud::remove(const std::shared_ptr<UINode>& node) {
|
|||
}
|
||||
}
|
||||
cleanup();
|
||||
if (node == secondUI) {
|
||||
closeInventory();
|
||||
}
|
||||
}
|
||||
|
||||
void Hud::setDebug(bool flag) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue