From 3c41fa6a3f3c39e0ed3a26dbffddeaf563ee043d Mon Sep 17 00:00:00 2001 From: Duane Date: Tue, 28 Jun 2016 12:37:03 -0500 Subject: [PATCH] Another variable == nil error. --- tesseract.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tesseract.lua b/tesseract.lua index ab42236..33c8369 100644 --- a/tesseract.lua +++ b/tesseract.lua @@ -393,7 +393,7 @@ local function trans_dig(pos, node, digger) return end local pair = fun_caves.db.translocators[tonumber(data.id)] - if #pair < 1 then + if not pair or #pair < 1 then print('* Fun Caves: low error in translocator storage') return end