forked from mtcontrib/homedecor_modpack
Merge pull request #16 from ShadowNinja/signs_infotext
Use infotext for signs
This commit is contained in:
commit
479032c135
|
@ -69,8 +69,8 @@ end
|
|||
|
||||
homedecor_update_sign = function(pos, fields)
|
||||
local meta = minetest.env:get_meta(pos)
|
||||
meta:set_string("infotext", "")
|
||||
if fields then
|
||||
meta:set_string("infotext", fields.text)
|
||||
meta:set_string("text", fields.text)
|
||||
end
|
||||
local text = meta:get_string("text")
|
||||
|
|
Loading…
Reference in New Issue
Block a user