diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index aec394b21ffc..55e2471c3f3e 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -974,6 +974,9 @@ void FindNewUnits(Actor self) foreach (var a in newUnits) { + if (Info.UnitsCommonNames.ExcludeFromSquads.Contains(a.Info.Name)) + continue; + if (a.Info.HasTraitInfo()) harvesters.Add(a);