From 610a5b0172f2d5f8d5fdfc720371a64ddfc3ef2b Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 6 Jan 2014 06:24:31 -0500 Subject: [PATCH] fix crash? --- signs_lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signs_lib.lua b/signs_lib.lua index 933b2a4..9e5fec1 100644 --- a/signs_lib.lua +++ b/signs_lib.lua @@ -324,7 +324,7 @@ homedecor.destruct_sign = function(pos) end local function make_infotext(text) - local lines = split_lines_and_words(text) + local lines = split_lines_and_words(text) or {} local lines2 = { } for _, line in ipairs(lines) do table.insert(lines2, table.concat(line, " "))