Remove queueing HeliFlyCircle from AutoCarryall
This commit is contained in:
@@ -32,14 +32,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
{
|
{
|
||||||
busy = false;
|
busy = false;
|
||||||
FindCarryableForTransport(self);
|
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
|
// A carryable notifying us that he'd like to be carried
|
||||||
|
|||||||
Reference in New Issue
Block a user