ctf_stats: Add ctf_stats.request_save

This functionality allows mods to request a save (not immediate) if they modify player stats.
This commit is contained in:
ANAND 2020-05-14 23:55:25 +05:30
parent f1a2006ec5
commit 181b13d1d0
4 changed files with 17 additions and 6 deletions

View file

@ -91,6 +91,8 @@ minetest.override_item("ctf_bandages:bandage", {
color = "0x00FF00",
value = reward
})
ctf_stats.request_save()
end
end
end