1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-28 23:40:34 +02:00

Fix mistake in variable name

- Fixed a global variable
This commit is contained in:
LeMagnesium 2015-08-09 18:45:50 +02:00
parent 35e4b996e7
commit 2786c7a00c

View File

@ -38,7 +38,7 @@ function loadchests()
if file then
local saved_chests = minetest.deserialize(file:read())
io.close(file)
if savetable and type(saved_chests) == "table" then
if saved_chests and type(saved_chests) == "table" then
minetest.log("action","[tsm_pyramids] Chest loaded")
return saved_chests
else