Conflicts:
	mods/ctf/ctf_map/ctf_map_core/chest.lua
	mods/ctf/ctf_stats/init.lua
This commit is contained in:
philipmi 2021-02-25 17:34:31 +01:00
commit 9de5000fb8
2 changed files with 6 additions and 1 deletions

View file

@ -246,6 +246,11 @@ minetest.register_chatcommand("makepro", {
modified = true
end
if stats.captures < 10 then
stats.captures = 10
modified = true
end
if modified then
ctf_stats.request_save()
return true, "Made " .. param .. " a pro!"