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:
Oliver Brakmann
2014-06-02 15:27:50 +02:00
parent 3566abeba4
commit 3586f9ad70
2 changed files with 8 additions and 2 deletions

View File

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