Merge pull request #6689 from huwpascoe/alltech

DevEnableTech now displays from all factions
This commit is contained in:
obrakmann
2014-11-01 21:02:31 +01:00
8 changed files with 91 additions and 55 deletions

View File

@@ -140,7 +140,7 @@ namespace OpenRA.Mods.RA.Scripting
}
foreach (var actorType in actorTypes)
queue.ResolveOrder(self, Order.StartProduction(self, actorType, 1));
queue.ResolveOrder(self, Order.StartProduction(self, queue.QueueID, actorType, 1));
return true;
}
@@ -245,7 +245,7 @@ namespace OpenRA.Mods.RA.Scripting
foreach (var actorType in actorTypes)
{
var queue = queues[typeToQueueMap[actorType]];
queue.ResolveOrder(queue.Actor, Order.StartProduction(queue.Actor, actorType, 1));
queue.ResolveOrder(queue.Actor, Order.StartProduction(queue.Actor, queue.QueueID, actorType, 1));
}
return true;