diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index d719454d01..073e4b7614 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -163,6 +163,7 @@ + diff --git a/OpenRA.Mods.RA/Player/PlayerStatistics.cs b/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs similarity index 97% rename from OpenRA.Mods.RA/Player/PlayerStatistics.cs rename to OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs index 89a0c8da01..e4049c4a2a 100644 --- a/OpenRA.Mods.RA/Player/PlayerStatistics.cs +++ b/OpenRA.Mods.Common/Traits/Player/PlayerStatistics.cs @@ -10,11 +10,9 @@ using System.Collections.Generic; using System.Linq; -using OpenRA.Mods.Common.Traits; -using OpenRA.Mods.RA.Traits; using OpenRA.Traits; -namespace OpenRA.Mods.RA +namespace OpenRA.Mods.Common.Traits { [Desc("Attach this to the player actor to collect observer stats.")] public class PlayerStatisticsInfo : ITraitInfo diff --git a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj index cdadc5fb5b..56f069ce47 100644 --- a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj +++ b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj @@ -97,6 +97,7 @@ + @@ -197,8 +198,6 @@ - - diff --git a/OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoStatsLogic.cs b/OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoStatsLogic.cs index 857f5f1103..14b096dabd 100644 --- a/OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoStatsLogic.cs +++ b/OpenRA.Mods.RA/Widgets/Logic/Ingame/GameInfoStatsLogic.cs @@ -8,11 +8,9 @@ */ #endregion -using System; using System.Drawing; using System.Linq; -using OpenRA.Mods.RA; -using OpenRA.Traits; +using OpenRA.Mods.Common.Traits; using OpenRA.Widgets; namespace OpenRA.Mods.RA.Widgets.Logic