Reset combat on new match
This commit is contained in:
parent
17c3085c3a
commit
1b689ed6c2
1 changed files with 8 additions and 0 deletions
|
@ -162,3 +162,11 @@ minetest.register_globalstep(function(dtime)
|
|||
globtimer = 0
|
||||
end
|
||||
end)
|
||||
|
||||
ctf_match.register_on_new_match(function()
|
||||
potential_cowards = {}
|
||||
end)
|
||||
|
||||
ctf.register_on_new_game(function()
|
||||
potential_cowards = {}
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue