mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix forgotten favourite list image update of simple menu
This commit is contained in:
parent
21ee434832
commit
663e42ca3f
3 changed files with 23 additions and 9 deletions
|
@ -52,12 +52,6 @@ local function get_formspec(tabview, name, tabdata)
|
|||
";]"
|
||||
|
||||
--favourites
|
||||
local function image_column(tooltip, flagname)
|
||||
return "image," ..
|
||||
"tooltip=" .. core.formspec_escape(tooltip) .. "," ..
|
||||
"0=" .. core.formspec_escape(defaulttexturedir .. "blank.png") .. "," ..
|
||||
"1=" .. core.formspec_escape(defaulttexturedir .. "server_flags_" .. flagname .. ".png")
|
||||
end
|
||||
if render_details then
|
||||
retval = retval .. "tablecolumns[" ..
|
||||
"color,span=3;" ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue