From 99253702c562cfa32dc6bb2229b45faeabbcd264 Mon Sep 17 00:00:00 2001 From: JovialFeline Date: Sun, 18 May 2025 13:51:00 -0400 Subject: [PATCH] Add IsDead checks to Fall of Greece 1 --- .../fall-of-greece-1-personal-war/personal-war.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mods/ra/maps/fall-of-greece-1-personal-war/personal-war.lua b/mods/ra/maps/fall-of-greece-1-personal-war/personal-war.lua index f6343b02f8..7a0fd64b1b 100644 --- a/mods/ra/maps/fall-of-greece-1-personal-war/personal-war.lua +++ b/mods/ra/maps/fall-of-greece-1-personal-war/personal-war.lua @@ -313,8 +313,12 @@ FootprintTriggers = function() trig9camera.Destroy() end) - Utils.Do(BridgeMammoths, function(actor) - actor.AttackMove(MammysGo.Location) + Utils.Do(BridgeMammoths, function(mammoth) + if mammoth.IsDead then + return + end + + mammoth.AttackMove(MammysGo.Location) end) end end) @@ -334,6 +338,10 @@ FootprintTriggers = function() Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location }) SendExtractionHelicopter() + if HealCrateTruck.IsDead then + return + end + HealCrateTruck.Move(TruckGo.Location) end end)