Revert "Expose Plane turn-to-attack delay to yaml."
This reverts commit 02da41e5c5.
This commit is contained in:
@@ -63,8 +63,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
new FacingInit(64)
|
||||
});
|
||||
|
||||
var plane = actor.Trait<Plane>();
|
||||
actor.QueueActivity(new Fly(actor, Target.FromCell(w, self.Location + new CVec(9, 0)), plane));
|
||||
actor.QueueActivity(new Fly(actor, Target.FromCell(w, self.Location + new CVec(9, 0))));
|
||||
actor.QueueActivity(new Land(actor, Target.FromActor(self)));
|
||||
actor.QueueActivity(new CallFunc(() =>
|
||||
{
|
||||
@@ -78,7 +77,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Speech", info.ReadyAudio, self.Owner.Country.Race);
|
||||
}));
|
||||
|
||||
actor.QueueActivity(new Fly(actor, Target.FromCell(w, endPos), plane));
|
||||
actor.QueueActivity(new Fly(actor, Target.FromCell(w, endPos)));
|
||||
actor.QueueActivity(new RemoveSelf());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user