Try to fix crash (2)

This commit is contained in:
Novatux 2015-06-23 19:26:01 +02:00
parent 528b21da7f
commit 8e642df6a2

View File

@ -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)