diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 95bd44c8ab..10ced73a1f 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -174,13 +174,11 @@ - - diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index 5669bfe180..d1d2b31854 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -456,6 +456,7 @@ + @@ -507,6 +508,7 @@ + diff --git a/OpenRA.Game/Traits/RejectsOrders.cs b/OpenRA.Mods.Common/Traits/RejectsOrders.cs similarity index 95% rename from OpenRA.Game/Traits/RejectsOrders.cs rename to OpenRA.Mods.Common/Traits/RejectsOrders.cs index dcc985109a..3b842d8438 100644 --- a/OpenRA.Game/Traits/RejectsOrders.cs +++ b/OpenRA.Mods.Common/Traits/RejectsOrders.cs @@ -10,8 +10,9 @@ #endregion using System.Collections.Generic; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { [Desc("Can be used to make a unit partly uncontrollable by the player.")] public class RejectsOrdersInfo : ITraitInfo diff --git a/OpenRA.Game/Traits/ValidateOrder.cs b/OpenRA.Mods.Common/Traits/World/ValidateOrder.cs similarity index 96% rename from OpenRA.Game/Traits/ValidateOrder.cs rename to OpenRA.Mods.Common/Traits/World/ValidateOrder.cs index 1948226d4d..04f17262cc 100644 --- a/OpenRA.Game/Traits/ValidateOrder.cs +++ b/OpenRA.Mods.Common/Traits/World/ValidateOrder.cs @@ -10,8 +10,9 @@ #endregion using OpenRA.Network; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { [Desc("Used to detect exploits. Attach this to the world actor.")] public class ValidateOrderInfo : TraitInfo { }