Fix force rally point not setting building as primary
This commit is contained in:
@@ -184,7 +184,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
var closest = self.World.Selection.Actors
|
||||
.Where(a => a.TraitOrDefault<RallyPoint>()?.Info.ForceSetType == info.ForceSetType)
|
||||
.ClosestToWithPathTo(self.World, target.CenterPosition);
|
||||
.ClosestToIgnoringPath(target.CenterPosition);
|
||||
|
||||
ForceSet = closest == self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user