mirror of
https://github.com/MinetestForFun/quests.git
synced 2025-01-09 17:50:22 +01:00
Don't write HUD table to save file since the new HUD code does HUDtable diffs and handles all cases
This commit is contained in:
parent
a3328d9fb5
commit
90bc0e3ad7
10
init.lua
10
init.lua
@ -71,11 +71,11 @@ minetest.register_on_shutdown(function()
|
||||
local file, err = io.open(minetest.get_worldpath().."/quests", "w")
|
||||
if file then
|
||||
file:write(minetest.serialize({
|
||||
active_quests = quests.active_quests,
|
||||
successfull_quests = quests.successfull_quests,
|
||||
failed_quests = quests.failed_quests,
|
||||
info_quests = quests.info_quests,
|
||||
hud = quests.hud}))
|
||||
active_quests = quests.active_quests,
|
||||
successfull_quests = quests.successfull_quests,
|
||||
failed_quests = quests.failed_quests,
|
||||
info_quests = quests.info_quests
|
||||
}))
|
||||
file:close()
|
||||
minetest.log("action", "Wrote quests to file")
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user