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
1 changed files with 2 additions and 1 deletions

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