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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user