Made UpgradeMultiplierTraitInfo implement ITraitInfo

This commit is contained in:
atlimit8
2015-06-27 13:52:00 -05:00
parent 527675db8d
commit a8106a9999
7 changed files with 15 additions and 13 deletions

View File

@@ -14,9 +14,9 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common
{
[Desc("The power usage/output of this actor is multiplied based on upgrade level if specified.")]
public class PowerMultiplierInfo : UpgradeMultiplierTraitInfo, ITraitInfo
public class PowerMultiplierInfo : UpgradeMultiplierTraitInfo
{
public object Create(ActorInitializer init) { return new PowerMultiplier(init.Self, this); }
public override object Create(ActorInitializer init) { return new PowerMultiplier(init.Self, this); }
}
public class PowerMultiplier : UpgradeMultiplierTrait, IPowerModifier, INotifyOwnerChanged