OrdersForFrame now returns serialized orders
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user