Don't allow engineers to repair neutral structures, it conflicts with capturing.

This commit is contained in:
Paul Chote
2011-07-27 00:49:44 +12:00
parent d8ec459b97
commit 3972836cd6

View File

@@ -66,6 +66,9 @@ namespace OpenRA.Mods.RA
if (!target.HasTrait<RepairableBuilding>())
return false;
if (self.Owner.Stances[ target.Owner ] != Stance.Ally)
return false;
IsQueued = forceQueued;
if( target.GetDamageState() == DamageState.Undamaged )