removed formspec_escape where not needed

This commit is contained in:
Sokomine 2022-05-30 20:40:38 +02:00
parent 299915708f
commit 428b11afd6

View File

@ -539,7 +539,7 @@ yl_speak_up.get_fs_talkdialog = function(player, n_id, d_id, alternate_text, rec
table.insert(formspec, "dropdown["..tostring(4.4+offset)..","..h..";4.7,1;d_id_"..
oid..";"..
dialog_list..";"..
minetest.formspec_escape(d_id_to_dropdown_index[(target_dialog or "?")] or "0")..",]")
(d_id_to_dropdown_index[(target_dialog or "?")] or "0")..",]")
-- add a tooltip "Change target dialog"
table.insert(formspec, "tooltip[4.4,"..h..";4.7,1;"..
"Change target dialog for option "..oid..".;#FFFFFF;#000000]")