Another variable == nil error.
This commit is contained in:
parent
c2ac5a93be
commit
3c41fa6a3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue