projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec456b
)
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
author
Novatux
<nathanael.courant@laposte.net>
Sat, 12 Jul 2014 08:51:09 +0000
(10:51 +0200)
committer
Novatux
<nathanael.courant@laposte.net>
Sun, 13 Jul 2014 09:05:07 +0000
(11:05 +0200)
builtin/game/forceloading.lua
patch
|
blob
|
history
diff --git
a/builtin/game/forceloading.lua
b/builtin/game/forceloading.lua
index 147f12fa074875c2e2bd206d28571355e0b9c763..8c9fbf51225d5a1878aa14b6a411adcd7c1e2362 100644
(file)
--- 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)