Remove HeliFlyAndLandWhenIdle
Already obsolete, as aircraft with CanHover do properly become idle and land when LandOnIdle is set to 'true'. They currently need VTOL too, but all CanHover-aircraft in the shipping mods have that and it will be fixed soon as well.
This commit is contained in:
@@ -946,7 +946,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (!Info.CanHover)
|
||||
self.QueueActivity(order.Queued, new Fly(self, target));
|
||||
else
|
||||
self.QueueActivity(order.Queued, new HeliFlyAndLandWhenIdle(self, target, Info));
|
||||
self.QueueActivity(order.Queued, new HeliFly(self, target));
|
||||
}
|
||||
else if (order.OrderString == "Enter" || order.OrderString == "Repair")
|
||||
{
|
||||
@@ -1012,7 +1012,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (!Info.CanHover)
|
||||
self.QueueActivity(new Fly(self, target));
|
||||
else
|
||||
self.QueueActivity(new HeliFlyAndLandWhenIdle(self, target, Info));
|
||||
self.QueueActivity(new HeliFly(self, target));
|
||||
|
||||
UnReserve();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user