Merge branch 'master' of https://github.com/MT-CTF/capturetheflag
Conflicts: mods/ctf/ctf_map/ctf_map_core/chest.lua mods/ctf/ctf_stats/init.lua
This commit is contained in:
commit
9de5000fb8
2 changed files with 6 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue