From 500216937b405257a42e6ea63b21a5ac8828cbed Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Wed, 30 Mar 2016 02:18:30 +0200 Subject: [PATCH] Move ProductionFromMapEdge from D2k to Common --- OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 1 + .../Traits}/ProductionFromMapEdge.cs | 3 +-- OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) rename {OpenRA.Mods.D2k/Traits/Buildings => OpenRA.Mods.Common/Traits}/ProductionFromMapEdge.cs (98%) diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index 684f573e74..463f283dd7 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -400,6 +400,7 @@ + diff --git a/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs b/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs similarity index 98% rename from OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs rename to OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs index ea59ecdbd8..0ca27c0ef0 100644 --- a/OpenRA.Mods.D2k/Traits/Buildings/ProductionFromMapEdge.cs +++ b/OpenRA.Mods.Common/Traits/ProductionFromMapEdge.cs @@ -11,11 +11,10 @@ using System.Drawing; using OpenRA; -using OpenRA.Mods.Common.Traits; using OpenRA.Primitives; using OpenRA.Traits; -namespace OpenRA.Mods.D2k.Traits +namespace OpenRA.Mods.Common.Traits { [Desc("Produce a unit on the closest map edge cell and move into the world.")] class ProductionFromMapEdgeInfo : ProductionInfo, UsesInit diff --git a/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj b/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj index fa658f4327..9ebea2e601 100644 --- a/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj +++ b/OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj @@ -84,7 +84,6 @@ -