Skip to content
Snippets Groups Projects
Commit d408c04d authored by Diego Martinez's avatar Diego Martinez
Browse files

Fix signs' text not rendering correctly after restart.

parent 09962b3f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment