diff --git a/OpenRa.Game/Traits/Production.cs b/OpenRa.Game/Traits/Production.cs index 4cebf0f320..406109f882 100755 --- a/OpenRa.Game/Traits/Production.cs +++ b/OpenRa.Game/Traits/Production.cs @@ -4,6 +4,11 @@ using System.Collections.Generic; namespace OpenRa.Game.Traits { + class ProductionInfo : ITraitInfo + { + public object Create(Actor self) { return new Production(self); } + } + class Production : IIssueOrder, IResolveOrder, IProducer, ITags { bool isPrimary = false; diff --git a/OpenRa.Game/Traits/ProductionQueue.cs b/OpenRa.Game/Traits/ProductionQueue.cs index eabd106c8c..b5945c76ff 100755 --- a/OpenRa.Game/Traits/ProductionQueue.cs +++ b/OpenRa.Game/Traits/ProductionQueue.cs @@ -6,6 +6,11 @@ using IjwFramework.Collections; namespace OpenRa.Game.Traits { + class ProductionQueueInfo : ITraitInfo + { + public object Create(Actor self) { return new ProductionQueue(self); } + } + class ProductionQueue : IResolveOrder, ITick { Actor self; diff --git a/OpenRa.Game/Traits/ProductionSurround.cs b/OpenRa.Game/Traits/ProductionSurround.cs index 1c2f1d8327..39facf6cc8 100644 --- a/OpenRa.Game/Traits/ProductionSurround.cs +++ b/OpenRa.Game/Traits/ProductionSurround.cs @@ -6,6 +6,11 @@ using OpenRa.Game.GameRules; namespace OpenRa.Game.Traits { + class ProductionSurroundInfo : ITraitInfo + { + public object Create(Actor self) { return new ProductionSurround(self); } + } + class ProductionSurround : Production { public ProductionSurround(Actor self) : base(self) { }