fix: hud.close after hud.show_overlay bug

This commit is contained in:
MihailRis 2025-08-11 23:58:00 +03:00
parent 2783b0af7b
commit 303346f5e5

View File

@ -598,6 +598,9 @@ void Hud::remove(const std::shared_ptr<UINode>& node) {
}
}
cleanup();
if (node == secondUI) {
closeInventory();
}
}
void Hud::setDebug(bool flag) {