mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Don't stop style parsing on unknown property (#10143)
This commit is contained in:
parent
3f702fa1a9
commit
da71313e1d
1 changed files with 2 additions and 2 deletions
|
@ -2562,7 +2562,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
|
||||||
<< "'" << std::endl;
|
<< "'" << std::endl;
|
||||||
property_warned.insert(propname);
|
property_warned.insert(propname);
|
||||||
}
|
}
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
spec.set(prop, value);
|
spec.set(prop, value);
|
||||||
|
@ -2603,7 +2603,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!state_valid) {
|
if (!state_valid) {
|
||||||
// Skip this selector
|
// Skip this selector
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue