Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bri cassa 2021-12-17 18:16:48 +01:00
commit 4633a276a2

View File

@ -243,9 +243,8 @@ local function formspec_add_item_browser(player, formspec, ui_peruser)
ui_peruser.btn_size, ui_peruser.btn_size,
name, button_name
)
formspec[n + 1] = ("tooltip[%s;%s \\[%s\\]]"):format(
button_name, minetest.formspec_escape(item.description),
item.mod_origin or "??"
formspec[n + 1] = ("tooltip[%s;%s]"):format(
button_name, minetest.formspec_escape(item.description)
)
n = n + 2
list_index = list_index + 1