aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/game/forceloading.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/forceloading.lua b/builtin/game/forceloading.lua
index 147f12fa0..8c9fbf512 100644
--- a/builtin/game/forceloading.lua
+++ b/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)