1
0
Fork 0
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:
sapier 2015-01-04 17:37:45 +01:00
parent 21ee434832
commit 663e42ca3f
3 changed files with 23 additions and 9 deletions

View file

@ -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;" ..