Add isDead-check to the flamethrowers in allies06b
This commit is contained in:
@@ -224,10 +224,14 @@ WorldLoaded = function()
|
|||||||
|
|
||||||
if Map.LobbyOption("difficulty") ~= "hard" then
|
if Map.LobbyOption("difficulty") ~= "hard" then
|
||||||
Trigger.OnKilled(DefBrl1, function(a, b)
|
Trigger.OnKilled(DefBrl1, function(a, b)
|
||||||
DefenseFlame1.Kill()
|
if not DefenseFlame1.IsDead then
|
||||||
|
DefenseFlame1.Kill()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
Trigger.OnKilled(DefBrl2, function(a, b)
|
Trigger.OnKilled(DefBrl2, function(a, b)
|
||||||
DefenseFlame2.Kill()
|
if not DefenseFlame2.IsDead then
|
||||||
|
DefenseFlame2.Kill()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user