forked from nalc/awards
Add serialization
This commit is contained in:
@ -67,4 +67,8 @@ minetest.register_on_newplayer(function(player)
|
||||
|
||||
--Table to contain achievement records
|
||||
player_data[player:get_player_name()]['unlocked']={}
|
||||
end)
|
||||
|
||||
minetest.register_on_shutdown(function()
|
||||
save_playerD()
|
||||
end)
|
Reference in New Issue
Block a user