From 3d3814f336e877c33af3093cc65c83191c7bb58d Mon Sep 17 00:00:00 2001 From: abc013 Date: Sun, 13 Oct 2019 13:34:49 +0200 Subject: [PATCH] Add isDead-check to the flamethrowers in allies06b --- mods/ra/maps/allies-06b/allies06b.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mods/ra/maps/allies-06b/allies06b.lua b/mods/ra/maps/allies-06b/allies06b.lua index a6b257e424..109c286161 100644 --- a/mods/ra/maps/allies-06b/allies06b.lua +++ b/mods/ra/maps/allies-06b/allies06b.lua @@ -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