Fix multiqueue

This commit is contained in:
Gustas
2024-06-21 10:03:12 +03:00
committed by Pavel Penev
parent 2ed0656d1b
commit e9e6c4b988

View File

@@ -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());
}