mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-19 22:03:44 +01:00
Escape icon text to allow for texture modifier
This commit is contained in:
parent
1ef4a98247
commit
c4709de60f
@ -45,7 +45,7 @@ function awards.get_formspec(name, to, sid)
|
||||
";]"
|
||||
|
||||
if sdef and sdef.icon then
|
||||
formspec = formspec .. "image[0.45,0;3.5,3.5;" .. sdef.icon .. "]" -- adjusted values from 0.6,0;3,3
|
||||
formspec = formspec .. "image[0.45,0;3.5,3.5;" .. minetest.formspec_escape(sdef.icon) .. "]" -- adjusted values from 0.6,0;3,3
|
||||
end
|
||||
|
||||
if sitem.progress then
|
||||
|
Loading…
Reference in New Issue
Block a user