Reset combat on new match

This commit is contained in:
LoneWolfHT 2020-11-22 14:06:25 -08:00
parent 17c3085c3a
commit 1b689ed6c2

View file

@ -162,3 +162,11 @@ minetest.register_globalstep(function(dtime)
globtimer = 0 globtimer = 0
end end
end) end)
ctf_match.register_on_new_match(function()
potential_cowards = {}
end)
ctf.register_on_new_game(function()
potential_cowards = {}
end)