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()
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)