Remove FlyOffMap.Interruptable. Fixes #906.

This commit is contained in:
Paul Chote
2011-06-23 19:16:20 +12:00
parent 78502317aa
commit ef8b6b2e71
2 changed files with 3 additions and 6 deletions

View File

@@ -31,8 +31,6 @@ namespace OpenRA.Mods.RA.Air
public class FlyOffMap : Activity
{
public bool Interruptible = false;
public override Activity Tick(Actor self)
{
var targetAltitude = self.Info.Traits.Get<PlaneInfo>().CruiseAltitude;
@@ -45,8 +43,7 @@ namespace OpenRA.Mods.RA.Air
public override void Cancel( Actor self )
{
if (Interruptible)
base.Cancel(self);
base.Cancel(self);
}
}
}