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:
parent
f1a2006ec5
commit
181b13d1d0
4 changed files with 17 additions and 6 deletions
|
@ -91,6 +91,8 @@ minetest.override_item("ctf_bandages:bandage", {
|
|||
color = "0x00FF00",
|
||||
value = reward
|
||||
})
|
||||
|
||||
ctf_stats.request_save()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue