From 77b313611eaa8a07f54a8debeed998be4e12928a Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Mon, 15 Apr 2019 18:00:08 +0300 Subject: [PATCH] Make Queue Groups work with ClassicProductionQueue. --- .../Widgets/Logic/Ingame/ClassicProductionLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ClassicProductionLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ClassicProductionLogic.cs index 6005fef54a..3986028a82 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/ClassicProductionLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/ClassicProductionLogic.cs @@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic // Classic production queues are initialized at game start, and then never change. var queues = world.LocalPlayer.PlayerActor.TraitsImplementing() - .Where(q => q.Info.Type == button.ProductionGroup) + .Where(q => (q.Info.Group ?? q.Info.Type) == button.ProductionGroup) .ToArray(); Action selectTab = reverse =>