forked from mtcontrib/pipeworks
Try to fix crash (2)
This commit is contained in:
parent
528b21da7f
commit
8e642df6a2
@ -11,7 +11,7 @@ local function read_file()
|
||||
local t = f:read("*all")
|
||||
f:close()
|
||||
if t == "" or t == nil then return {} end
|
||||
return minetest.deserialize(t)
|
||||
return minetest.deserialize(t) or {}
|
||||
end
|
||||
|
||||
local function write_file(tbl)
|
||||
|
Loading…
Reference in New Issue
Block a user