Revert "Expose Plane turn-to-attack delay to yaml."
This reverts commit 02da41e5c5.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.RA.Scripting
|
||||
public void Paradrop(CPos cell)
|
||||
{
|
||||
paradrop.SetLZ(cell, true);
|
||||
Self.QueueActivity(new Fly(Self, Target.FromCell(Self.World, cell), Self.Trait<Plane>()));
|
||||
Self.QueueActivity(new Fly(Self, Target.FromCell(Self.World, cell)));
|
||||
Self.QueueActivity(new FlyOffMap(Self));
|
||||
Self.QueueActivity(new RemoveSelf());
|
||||
}
|
||||
|
||||
@@ -184,9 +184,8 @@ namespace OpenRA.Mods.RA.Traits
|
||||
foreach (var p in passengers)
|
||||
cargo.Load(a, p);
|
||||
|
||||
var plane = a.Trait<Plane>();
|
||||
a.QueueActivity(new Fly(a, Target.FromPos(target + spawnOffset), plane));
|
||||
a.QueueActivity(new Fly(a, Target.FromPos(finishEdge + spawnOffset), plane));
|
||||
a.QueueActivity(new Fly(a, Target.FromPos(target + spawnOffset)));
|
||||
a.QueueActivity(new Fly(a, Target.FromPos(finishEdge + spawnOffset)));
|
||||
a.QueueActivity(new RemoveSelf());
|
||||
aircraftInRange.Add(a, false);
|
||||
distanceTestActor = a;
|
||||
|
||||
Reference in New Issue
Block a user