Add Requires<AttackBaseInfo> to AttackOrderPowerInfo
This commit is contained in:
@@ -19,7 +19,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.TS.Traits
|
namespace OpenRA.Mods.TS.Traits
|
||||||
{
|
{
|
||||||
class AttackOrderPowerInfo : SupportPowerInfo
|
class AttackOrderPowerInfo : SupportPowerInfo, Requires<AttackBaseInfo>
|
||||||
{
|
{
|
||||||
public override object Create(ActorInitializer init) { return new AttackOrderPower(init.Self, this); }
|
public override object Create(ActorInitializer init) { return new AttackOrderPower(init.Self, this); }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user