diff --git a/OpenRA.Mods.RA/EngineerCapture.cs b/OpenRA.Mods.RA/EngineerCapture.cs index bfdb551d45..81cfa847f7 100644 --- a/OpenRA.Mods.RA/EngineerCapture.cs +++ b/OpenRA.Mods.RA/EngineerCapture.cs @@ -39,7 +39,10 @@ namespace OpenRA.Mods.RA // todo: other bits if (underCursor.Owner == null) return null; // don't allow capturing of bridges, etc. - return new Order(underCursor.Health <= EngineerDamage ? "Capture" : "Infiltrate", + var isCapture = underCursor.Health <= EngineerDamage && + self.Owner.Stances[underCursor.Owner] != Stance.Ally; + + return new Order(isCapture ? "Capture" : "Infiltrate", self, underCursor); }