forked from mtcontrib/homedecor_modpack
		
	Use "|" for linebreaks in infotext
This commit is contained in:
		@@ -70,7 +70,7 @@ 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)
 | 
				
			||||||
	if fields then
 | 
						if fields then
 | 
				
			||||||
		meta:set_string("infotext", fields.text)
 | 
							meta:set_string("infotext", table.concat(homedecor_create_lines(fields.text), "\n"))
 | 
				
			||||||
		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")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user