diff options
| author | Novatux <nathanael.courant@laposte.net> | 2015-06-23 19:26:01 +0200 |
|---|---|---|
| committer | Novatux <nathanael.courant@laposte.net> | 2015-06-23 19:26:01 +0200 |
| commit | 8e642df6a2c646585805ffe14b289617ca62c9ff (patch) | |
| tree | 79d90672a03b4d62f5bbc7ae23d012d869415018 | |
| parent | 528b21da7f28a356d7b041a6bd37442273a0d49b (diff) | |
Try to fix crash (2)
| -rw-r--r-- | luaentity.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luaentity.lua b/luaentity.lua index e45a8b2..4ecb163 100644 --- a/luaentity.lua +++ b/luaentity.lua @@ -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) |
