Simplify Fly interface.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.RA
|
||||
});
|
||||
|
||||
plane.CancelActivity();
|
||||
plane.QueueActivity(Fly.ToCell(order.TargetLocation));
|
||||
plane.QueueActivity(new Fly(plane, Target.FromCell(order.TargetLocation)));
|
||||
plane.QueueActivity(new CallFunc(() => plane.World.AddFrameEndTask( w =>
|
||||
{
|
||||
var camera = w.CreateActor("camera", new TypeDictionary
|
||||
|
||||
Reference in New Issue
Block a user