Renormalize line endings and fix copyright headers again.
This commit is contained in:
@@ -34,8 +34,8 @@ namespace OpenRA.Mods.RA
|
||||
.Any();
|
||||
|
||||
base.Tick(self);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static ActorInfo[] None = { };
|
||||
public override IEnumerable<ActorInfo> AllItems()
|
||||
{
|
||||
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
// Find a production structure to build this actor
|
||||
var producers = self.World
|
||||
.ActorsWithTrait<Production>()
|
||||
.ActorsWithTrait<Production>()
|
||||
.Where(x => x.Actor.Owner == self.Owner)
|
||||
.Where(x => x.Trait.Info.Produces.Contains(Info.Type))
|
||||
.OrderByDescending(x => x.Actor.IsPrimaryBuilding() ? 1 : 0 ); // prioritize the primary.
|
||||
|
||||
Reference in New Issue
Block a user