Merge pull request #11620 from pchote/fly-on-unreserve
Order landed aircraft to take off if their reservation is cancelled.
This commit is contained in:
@@ -271,6 +271,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
reservation.Dispose();
|
||||
reservation = null;
|
||||
if (self.World.Map.DistanceAboveTerrain(CenterPosition).Length <= Info.LandAltitude.Length)
|
||||
self.QueueActivity(new TakeOff(self));
|
||||
}
|
||||
|
||||
public bool AircraftCanEnter(Actor a)
|
||||
|
||||
Reference in New Issue
Block a user