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

@ -34,6 +34,14 @@ local function render_client_count(n)
end
end
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
function render_favorite(spec,render_details)
local text = ""