fixed PlaceBuilding and Chronosphere ordergenerators
This commit is contained in:
@@ -75,8 +75,11 @@ namespace OpenRA.Mods.RA
|
||||
&& a.HasTrait<IronCurtainable>()
|
||||
&& a.HasTrait<Selectable>()).FirstOrDefault();
|
||||
|
||||
if (underCursor != null)
|
||||
yield return new Order("IronCurtain", underCursor.Owner.PlayerActor, underCursor);
|
||||
if( underCursor != null )
|
||||
{
|
||||
world.CancelInputMode();
|
||||
yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor );
|
||||
}
|
||||
}
|
||||
|
||||
yield break;
|
||||
|
||||
Reference in New Issue
Block a user