From 97306f2bcd71f0f81480a591282ad976fc191ab6 Mon Sep 17 00:00:00 2001 From: rob-v Date: Sun, 23 Jul 2017 13:09:32 +0200 Subject: [PATCH] Move DeveloperMode trait to Mods.Common --- OpenRA.Game/OpenRA.Game.csproj | 1 - OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 1 + .../Traits/Player/DeveloperMode.cs | 3 ++- .../Widgets/Logic/Ingame/IngameRadarDisplayLogic.cs | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename {OpenRA.Game => OpenRA.Mods.Common}/Traits/Player/DeveloperMode.cs (98%) diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 331deef759..a809d1c9bb 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -181,7 +181,6 @@ - diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index fce0fc4706..102e27aac3 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -297,6 +297,7 @@ + diff --git a/OpenRA.Game/Traits/Player/DeveloperMode.cs b/OpenRA.Mods.Common/Traits/Player/DeveloperMode.cs similarity index 98% rename from OpenRA.Game/Traits/Player/DeveloperMode.cs rename to OpenRA.Mods.Common/Traits/Player/DeveloperMode.cs index 54cfef4ccb..bf444a31b0 100644 --- a/OpenRA.Game/Traits/Player/DeveloperMode.cs +++ b/OpenRA.Mods.Common/Traits/Player/DeveloperMode.cs @@ -11,8 +11,9 @@ using System.Collections.Generic; using System.Linq; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { [Desc("Attach this to the player actor.")] public class DeveloperModeInfo : ITraitInfo, ILobbyOptions diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameRadarDisplayLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameRadarDisplayLogic.cs index fde9e38201..f76af6b817 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameRadarDisplayLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameRadarDisplayLogic.cs @@ -11,8 +11,8 @@ using System.Drawing; using System.Linq; +using OpenRA.Mods.Common.Traits; using OpenRA.Mods.Common.Traits.Radar; -using OpenRA.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic