1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

Use infotext for signs

This commit is contained in:
ShadowNinja 2013-04-05 18:47:34 -04:00
parent e6757700dc
commit 7c9778d64b

View File

@ -69,8 +69,8 @@ end
homedecor_update_sign = function(pos, fields) homedecor_update_sign = function(pos, fields)
local meta = minetest.env:get_meta(pos) local meta = minetest.env:get_meta(pos)
meta:set_string("infotext", "")
if fields then if fields then
meta:set_string("infotext", fields.text)
meta:set_string("text", fields.text) meta:set_string("text", fields.text)
end end
local text = meta:get_string("text") local text = meta:get_string("text")