Enable PvP during server startup.
This commit is contained in:
parent
f9d6ecd0bb
commit
7ed2aabfff
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ dofile(minetest.get_modpath("ctf_match") .. "/vote.lua")
|
||||||
|
|
||||||
ctf.register_on_init(function()
|
ctf.register_on_init(function()
|
||||||
ctf._set("match.remove_player_on_leave", false)
|
ctf._set("match.remove_player_on_leave", false)
|
||||||
|
minetest.settings:set_bool("enable_pvp", true)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
ctf_match.register_on_build_time_end(function()
|
ctf_match.register_on_build_time_end(function()
|
||||||
|
|
Loading…
Reference in a new issue