Skip to content
Permalink
Browse files

Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6…

  • Loading branch information
Ekdohibs committed Jul 12, 2014
1 parent eec456b commit 24a631ee2ae54709b700ff236820c7d56c4d8917
Showing with 1 addition and 1 deletion.
  1. +1 −1 builtin/game/forceloading.lua
@@ -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)

0 comments on commit 24a631e

Please sign in to comment.
You can’t perform that action at this time.