Merge pull request #3124 from Mailaender/zombie-aircraft-fix
Don't try to return to base if already dead
This commit is contained in:
@@ -93,7 +93,10 @@ namespace OpenRA.Mods.RA.Air
|
||||
|
||||
public override Activity Tick(Actor self)
|
||||
{
|
||||
if (IsCanceled) return NextActivity;
|
||||
if (IsCanceled)
|
||||
return NextActivity;
|
||||
if (self.IsDead())
|
||||
return NextActivity;
|
||||
if (!isCalculated)
|
||||
Calculate(self);
|
||||
if (dest == null)
|
||||
|
||||
Reference in New Issue
Block a user