OrdersForFrame now returns serialized orders

This commit is contained in:
Bob
2010-01-20 12:34:00 +13:00
parent 47c29e7cd2
commit 6d4a69fa9b
5 changed files with 14 additions and 13 deletions

View File

@@ -58,6 +58,7 @@ namespace OpenRa.Orders
{
var orders = sources
.SelectMany(s => s.OrdersForFrame(frame))
.SelectMany(x => x.ToOrderList())
.Where(o => o.Validate()) /* drop bogus things */
.OrderBy(o => o.Player.Index)
.ToList();