Add isDead-check to the flamethrowers in allies06b

This commit is contained in:
abc013
2019-10-13 13:34:49 +02:00
committed by abcdefg30
parent 3e244998cd
commit 3d3814f336

View File

@@ -224,10 +224,14 @@ WorldLoaded = function()
if Map.LobbyOption("difficulty") ~= "hard" then
Trigger.OnKilled(DefBrl1, function(a, b)
DefenseFlame1.Kill()
if not DefenseFlame1.IsDead then
DefenseFlame1.Kill()
end
end)
Trigger.OnKilled(DefBrl2, function(a, b)
DefenseFlame2.Kill()
if not DefenseFlame2.IsDead then
DefenseFlame2.Kill()
end
end)
end