made all orders queuable
This commit is contained in:
@@ -79,7 +79,7 @@ namespace OpenRA.Mods.RA
|
||||
&& a.HasTrait<Selectable>()).FirstOrDefault();
|
||||
|
||||
if (underCursor != null)
|
||||
yield return new Order("ChronosphereSelect", world.LocalPlayer.PlayerActor, underCursor);
|
||||
yield return new Order("ChronosphereSelect", world.LocalPlayer.PlayerActor, underCursor, false);
|
||||
}
|
||||
|
||||
yield break;
|
||||
@@ -128,7 +128,7 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
// Cannot chronoshift into unexplored location
|
||||
if (world.LocalPlayer.Shroud.IsExplored(xy))
|
||||
yield return new Order("ChronosphereActivate", world.LocalPlayer.PlayerActor, self, xy);
|
||||
yield return new Order("ChronosphereActivate", world.LocalPlayer.PlayerActor, self, xy, false);
|
||||
}
|
||||
|
||||
public void Tick(World world)
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.RA
|
||||
&& a.HasTrait<Selectable>()).FirstOrDefault();
|
||||
|
||||
if( underCursor != null )
|
||||
yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor );
|
||||
yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor, false );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
protected override void OnActivate()
|
||||
{
|
||||
Self.World.IssueOrder(new Order("SonarPulse", Owner.PlayerActor));
|
||||
Self.World.IssueOrder(new Order("SonarPulse", Owner.PlayerActor, false));
|
||||
}
|
||||
|
||||
public void ResolveOrder(Actor self, Order order)
|
||||
|
||||
Reference in New Issue
Block a user