1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix error message caused by adding new parameter to background (#8922)

Adds background9[] element to keep backwards compatibility in formspec prepends.
This commit is contained in:
rubenwardy 2019-09-29 12:40:59 +01:00 committed by SmallJoker
parent 16865a5bf6
commit 07bdd6049b
2 changed files with 3 additions and 3 deletions

View file

@ -2231,8 +2231,8 @@ void GUIFormSpecMenu::parseElement(parserData* data, const std::string &element)
return;
}
if (type == "background") {
parseBackground(data,description);
if (type == "background" || type == "background9") {
parseBackground(data, description);
return;
}