mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
Fix mistake in variable name
- Fixed a global variable
This commit is contained in:
parent
35e4b996e7
commit
2786c7a00c
@ -38,7 +38,7 @@ function loadchests()
|
|||||||
if file then
|
if file then
|
||||||
local saved_chests = minetest.deserialize(file:read())
|
local saved_chests = minetest.deserialize(file:read())
|
||||||
io.close(file)
|
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")
|
minetest.log("action","[tsm_pyramids] Chest loaded")
|
||||||
return saved_chests
|
return saved_chests
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user