Fix issues in 'intervention' mission
* Fix an InvalidOperationException due to querying traits on a dead actor (fixes #5530) * remove a gap in the SAM belt that shouldn't be there
This commit is contained in:
@@ -192,8 +192,10 @@ SetupWorld = function()
|
||||
Utils.Do(SovietHarvesters, function(harvester)
|
||||
Actor.OnDamaged(harvester, function(h)
|
||||
Team.Do(harvesterGuard, function(g)
|
||||
Actor.Stop(g)
|
||||
Actor.AttackMove(g, h.Location, 3)
|
||||
if not Actor.IsDead(g) then
|
||||
Actor.Stop(g)
|
||||
Actor.AttackMove(g, h.Location, 3)
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user