Fix Repairable returning order targeter for aircraft

Aircraft (currently) does its own order targeting for resupplies,
so this could lead to conflicts.
This commit is contained in:
reaperrr
2019-07-19 17:20:06 +02:00
committed by teinarss
parent e7769357a8
commit 5b3e6175ea

View File

@@ -64,7 +64,8 @@ namespace OpenRA.Mods.Common.Traits
{
get
{
yield return new EnterAlliedActorTargeter<BuildingInfo>("Repair", 5, CanRepairAt, _ => CanRepair() || CanRearm());
if (!isAircraft)
yield return new EnterAlliedActorTargeter<BuildingInfo>("Repair", 5, CanRepairAt, _ => CanRepair() || CanRearm());
}
}