removed TechLevel from Buildable; fixed lineendings in structures.yaml

This commit is contained in:
Bob
2010-05-13 19:01:01 +12:00
parent aa1c149dbb
commit bed3c28233
5 changed files with 919 additions and 935 deletions

View File

@@ -201,7 +201,7 @@ namespace OpenRA.Widgets
var allBuildables = Rules.TechTree.AllBuildables(queueName)
.Where(a => a.Traits.Get<BuildableInfo>().Owner.Contains(world.LocalPlayer.Country.Race))
.OrderBy(a => a.Traits.Get<BuildableInfo>().BuildPaletteOrder)
.ThenBy(a => a.Traits.Get<BuildableInfo>().TechLevel).ToArray();
.ToArray();
var queue = world.LocalPlayer.PlayerActor.traits.Get<ProductionQueue>();