Add AbortOnResupply property to cancel aircraft activities on resupply.

This commit is contained in:
Paul Chote
2016-09-25 15:44:46 +01:00
parent 6eafaeecf6
commit ea65ac542e
3 changed files with 6 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ namespace OpenRA.Mods.Common.Activities
new Turn(self, initialFacing),
new HeliLand(self, false),
new ResupplyAircraft(self),
NextActivity);
!heli.Info.AbortOnResupply ? NextActivity : null);
}
return ActivityUtils.SequenceActivities(