/makepro: Request save if modified
This commit is contained in:
parent
d73d92e5ae
commit
1967a83da7
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ minetest.register_chatcommand("makepro", {
|
|||
end
|
||||
|
||||
if modified then
|
||||
ctf_stats.request_save()
|
||||
return true, "Made " .. param .. " a pro!"
|
||||
else
|
||||
return false, param .. " is already a pro!"
|
||||
|
|
Loading…
Reference in a new issue