Add IsDead checks to Fall of Greece 1

This commit is contained in:
JovialFeline
2025-05-18 13:51:00 -04:00
committed by Gustas Kažukauskas
parent 5c09d5d828
commit 99253702c5

View File

@@ -313,8 +313,12 @@ FootprintTriggers = function()
trig9camera.Destroy() trig9camera.Destroy()
end) end)
Utils.Do(BridgeMammoths, function(actor) Utils.Do(BridgeMammoths, function(mammoth)
actor.AttackMove(MammysGo.Location) if mammoth.IsDead then
return
end
mammoth.AttackMove(MammysGo.Location)
end) end)
end end
end) end)
@@ -334,6 +338,10 @@ FootprintTriggers = function()
Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location }) Actor.Create("camera", true, { Owner = Allies, Location = ExtractionPoint.Location })
SendExtractionHelicopter() SendExtractionHelicopter()
if HealCrateTruck.IsDead then
return
end
HealCrateTruck.Move(TruckGo.Location) HealCrateTruck.Move(TruckGo.Location)
end end
end) end)