Remove queueing HeliFlyCircle from AutoCarryall

This commit is contained in:
reaperrr
2018-11-22 15:31:40 +01:00
committed by Paul Chote
parent ac3e601edf
commit 20ba45d467

View File

@@ -32,14 +32,6 @@ namespace OpenRA.Mods.Common.Traits
{
busy = false;
FindCarryableForTransport(self);
// TODO: This should be handled by the Aircraft trait
if (!busy)
{
var aircraft = self.Trait<Aircraft>();
var turnSpeedOverride = aircraft.Info.IdleTurnSpeed > -1 ? aircraft.Info.IdleTurnSpeed : aircraft.TurnSpeed;
self.QueueActivity(new HeliFlyCircle(self, turnSpeedOverride));
}
}
// A carryable notifying us that he'd like to be carried