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