Skip to content

Commit

Permalink
I think i broke ExcludeFromSquads during rebase. This fixes it.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Sep 4, 2018
1 parent 0423ac1 commit b75f554
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OpenRA.Mods.Common/AI/HackyAI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<HarvesterInfo>())
harvesters.Add(a);

Expand Down

0 comments on commit b75f554

Please sign in to comment.