1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 23:50:22 +02: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;
}