Medkits: Don't give back if map is skipped (#870)
This commit is contained in:
parent
47cc8928f7
commit
4f49560569
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ local function stop_healing(player, interrupted)
|
|||
player:hud_remove(info.hud)
|
||||
end
|
||||
|
||||
ctf_flag.register_on_precapture(function()
|
||||
ctf_match.register_on_new_match(function()
|
||||
-- Reset all player states at the end of the match
|
||||
for name, info in pairs(players) do
|
||||
players[name] = nil
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = medkits
|
||||
depends = ctf_flag
|
||||
depends = ctf_match
|
||||
|
|
Loading…
Reference in a new issue