diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-09-29 12:40:59 +0100 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-09-29 13:40:59 +0200 |
commit | 07bdd6049b6d190de69419cc9be2ac49d3a08e0f (patch) | |
tree | 4ecd337e64a6ae3824c8d6eac92b5ea82f6d7789 /doc | |
parent | 16865a5bf65daae6131f1ad3d0df98be8b01f0f0 (diff) | |
download | minetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.tar.gz minetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.tar.bz2 minetest-07bdd6049b6d190de69419cc9be2ac49d3a08e0f.zip |
Fix error message caused by adding new parameter to background (#8922)
Adds background9[] element to keep backwards compatibility in formspec prepends.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index cefc53569..b4cf65e54 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2114,7 +2114,7 @@ Elements * If `auto_clip` is `true`, the background is clipped to the formspec size (`x` and `y` are used as offset values, `w` and `h` are ignored) -### `background[<X>,<Y>;<W>,<H>;<texture name>;<auto_clip>;<middle>]` +### `background9[<X>,<Y>;<W>,<H>;<texture name>;<auto_clip>;<middle>]` * 9-sliced background. See https://en.wikipedia.org/wiki/9-slice_scaling * Middle is a rect which defines the middle of the 9-slice. |