Add more information about how get_node_light works.
[oweals/minetest.git] / builtin / game / forceloading.lua
index 147f12fa074875c2e2bd206d28571355e0b9c763..8c9fbf51225d5a1878aa14b6a411adcd7c1e2362 100644 (file)
@@ -53,7 +53,7 @@ local function read_file(filename)
        local t = f:read("*all")
        f:close()
        if t=="" or t==nil then return {} end
-       return core.deserialize(t)
+       return core.deserialize(t) or {}
 end
 
 local function write_file(filename, table)