/makepro: Request save if modified

This commit is contained in:
ANAND 2020-05-31 20:17:42 +05:30
parent d73d92e5ae
commit 1967a83da7
No known key found for this signature in database
GPG key ID: 3AD8A3C4A51AAB97

View file

@ -233,6 +233,7 @@ minetest.register_chatcommand("makepro", {
end end
if modified then if modified then
ctf_stats.request_save()
return true, "Made " .. param .. " a pro!" return true, "Made " .. param .. " a pro!"
else else
return false, param .. " is already a pro!" return false, param .. " is already a pro!"