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

Fix signs' text not rendering correctly after restart.

This commit is contained in:
Diego Martinez 2014-07-21 13:16:58 -03:00
parent 09962b3f54
commit d408c04d5e

View File

@ -703,8 +703,9 @@ local signs_text_on_activate
signs_text_on_activate = function(self)
local meta = minetest.get_meta(self.object:getpos())
local text = meta:get_string("text")
local new = (meta:get_int("__signslib_new_format") ~= 0)
if text then
set_obj_text(self.object, text)
set_obj_text(self.object, text, new)
end
end