From e9e6c4b988960837b904774ba1ecdf889c65645a Mon Sep 17 00:00:00 2001 From: Gustas Date: Fri, 21 Jun 2024 10:03:12 +0300 Subject: [PATCH] Fix multiqueue --- OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs index 7f703d89cc..6e44eae66d 100644 --- a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs +++ b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs @@ -322,7 +322,7 @@ namespace OpenRA.Mods.Common.Traits public virtual bool AnyItemsToBuild() { return Enabled - && (productionTraits.Length <= 0 || productionTraits.Any(p => p.IsTraitDisabled)) + && (productionTraits.Length <= 0 || productionTraits.Any(p => !p.IsTraitDisabled)) && ((developerMode.AllTech && Producible.Keys.Count != 0) || buildableProducibles.Any()); }