Remove extra debug info
This commit is contained in:
parent
3f26b5431d
commit
dec846e265
@ -31,8 +31,6 @@ local function save_achievements()
|
|||||||
|
|
||||||
f:write(minetest.serialize(achievements.achievements))
|
f:write(minetest.serialize(achievements.achievements))
|
||||||
|
|
||||||
print("Save: " .. dump(achievements.achievements))
|
|
||||||
|
|
||||||
saving = false
|
saving = false
|
||||||
|
|
||||||
io.close(f)
|
io.close(f)
|
||||||
@ -52,11 +50,8 @@ local function load_achievements()
|
|||||||
if f then
|
if f then
|
||||||
achievements.achievements = minetest.deserialize(f:read("*all"))
|
achievements.achievements = minetest.deserialize(f:read("*all"))
|
||||||
|
|
||||||
print("Load: " .. dump(achievements.achievements))
|
|
||||||
|
|
||||||
io.close(f)
|
io.close(f)
|
||||||
else
|
else
|
||||||
print("Firstload...")
|
|
||||||
save_achievements()
|
save_achievements()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user