mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Merge branch 'dev' into more-about-projects
This commit is contained in:
commit
dc0e388eec
14 changed files with 134 additions and 29 deletions
|
|
@ -538,6 +538,7 @@ void Hud::closeInventory() {
|
|||
exchangeSlotInv = nullptr;
|
||||
inventoryOpen = false;
|
||||
inventoryView = nullptr;
|
||||
secondInvView = nullptr;
|
||||
secondUI = nullptr;
|
||||
|
||||
for (auto& element : elements) {
|
||||
|
|
@ -597,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