more order targeters

This commit is contained in:
Bob
2010-10-03 05:32:39 +13:00
committed by Paul Chote
parent 4bc9e01516
commit 87a0b52ce5
5 changed files with 58 additions and 43 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Mods.RA
get
{
yield return new EnterBuildingOrderTargeter<Building>( "CaptureBuilding", 5, true, false,
target => target.Info.Traits.Get<BuildingInfo>().Capturable );
_ => true, target => target.Info.Traits.Get<BuildingInfo>().Capturable );
}
}