Make AirstrikePowerInfo.UnitType require AircraftInfo

This commit is contained in:
Taryn Hill
2015-12-27 10:27:27 -06:00
parent a7a6f41ef9
commit 5542076a68

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Traits
{
public class AirstrikePowerInfo : SupportPowerInfo
{
[ActorReference]
[ActorReference(typeof(AircraftInfo))]
public readonly string UnitType = "badr.bomber";
public readonly int SquadSize = 1;
public readonly WVec SquadOffset = new WVec(-1536, 1536, 0);