Merge pull request #7815 from Phrohdoh/aircraft-turn-timing

Expose Plane turn-to-attack delay to yaml.
This commit is contained in:
Oliver Brakmann
2015-04-03 23:15:41 +02:00
13 changed files with 60 additions and 45 deletions

View File

@@ -123,7 +123,7 @@ namespace OpenRA.Mods.Common.Traits
plane.Trait<Cargo>().Load(plane, crate);
plane.CancelActivity();
plane.QueueActivity(new Fly(plane, Target.FromPos(finishEdge)));
plane.QueueActivity(new Fly(plane, Target.FromPos(finishEdge), plane.Trait<Plane>()));
plane.QueueActivity(new RemoveSelf());
}
else