fix: hud.close after hud.show_overlay bug
This commit is contained in:
parent
2783b0af7b
commit
303346f5e5
@ -598,6 +598,9 @@ void Hud::remove(const std::shared_ptr<UINode>& node) {
|
||||
}
|
||||
}
|
||||
cleanup();
|
||||
if (node == secondUI) {
|
||||
closeInventory();
|
||||
}
|
||||
}
|
||||
|
||||
void Hud::setDebug(bool flag) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user