Better logging
This commit is contained in:
parent
ee1599de5d
commit
843077ff60
3 changed files with 7 additions and 1 deletions
|
@ -62,6 +62,9 @@ ctf_match.register_on_build_time_start(function()
|
|||
end)
|
||||
|
||||
ctf_match.register_on_build_time_end(function()
|
||||
if minetest.global_exists("chatplus") then
|
||||
chatplus.log("Build time over!")
|
||||
end
|
||||
minetest.chat_send_all("Build time over! Attack and defend!")
|
||||
minetest.setting_set("enable_pvp", "true")
|
||||
for _, player in pairs(minetest.get_connected_players()) do
|
||||
|
|
|
@ -104,6 +104,9 @@ ctf.register_on_new_game(function()
|
|||
end
|
||||
|
||||
minetest.chat_send_all("Next round!")
|
||||
if minetest.global_exists("chatplus") then
|
||||
chatplus.log("Next round!")
|
||||
end
|
||||
end)
|
||||
|
||||
ctf_flag.register_on_capture(function(attname, flag)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e0b9b476ee2fd577e62afaab9b410f009516687b
|
||||
Subproject commit dff4eee6c7d672e3f818b115d4bcd764c8c62881
|
Loading…
Reference in a new issue