Fix crash in Allies 05a on SamBarrel kill
This commit is contained in:
@@ -329,7 +329,11 @@ InitTriggers = function()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Trigger.OnKilled(SamBarrel, Sam1.Kill)
|
Trigger.OnKilled(SamBarrel, function()
|
||||||
|
if not Sam1.IsDead then
|
||||||
|
Sam1.Kill()
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
Trigger.OnAllKilled(SamSites, function()
|
Trigger.OnAllKilled(SamSites, function()
|
||||||
greece.MarkCompletedObjective(KillSams)
|
greece.MarkCompletedObjective(KillSams)
|
||||||
|
|||||||
Reference in New Issue
Block a user