dependencies lock

This commit is contained in:
MihailRis
2024-05-04 16:05:05 +03:00
parent de0b890459
commit 7c5e15fade
3 changed files with 35 additions and 19 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ void UiXmlReader::addIgnore(const std::string& tag) {
std::shared_ptr<UINode> UiXmlReader::readUINode(xml::xmlelement element) {
if (element->has("if")) {
const auto& cond = element->attr("if").getText();
if (cond.empty() || cond == "false") {
if (cond.empty() || cond == "false" || cond == "nil") {
return nullptr;
}
}