diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index a16fc54752..4202672c00 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -737,6 +737,7 @@ + diff --git a/OpenRA.Mods.Common/Traits/Radar/JamsRadar.cs b/OpenRA.Mods.Common/Traits/Radar/JamsRadar.cs new file mode 100644 index 0000000000..4fd9b72c92 --- /dev/null +++ b/OpenRA.Mods.Common/Traits/Radar/JamsRadar.cs @@ -0,0 +1,24 @@ +#region Copyright & License Information +/* + * Copyright 2007-2016 The OpenRA Developers (see AUTHORS) + * This file is part of OpenRA, which is free software. It is made + * available to you under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. For more + * information, see COPYING. + */ +#endregion + +using OpenRA.Traits; + +namespace OpenRA.Mods.Common.Traits +{ + [Desc("When an actor with this trait is in range of an actor with ProvidesRadar, it will temporarily disable the radar minimap for the enemy player.")] + public class JamsRadarInfo : TraitInfo + { + [Desc("Range for jamming.")] + public readonly WDist Range = WDist.Zero; + } + + public class JamsRadar { } +} diff --git a/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs b/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs index e2f5fe75ce..d18d2e7dbe 100644 --- a/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs +++ b/OpenRA.Mods.Common/Traits/Radar/ProvidesRadar.cs @@ -33,13 +33,4 @@ namespace OpenRA.Mods.Common.Traits > a.Actor.Info.TraitInfo().Range.LengthSquared); } } - - [Desc("When an actor with this trait is in range of an actor with ProvidesRadar, it will temporarily disable the radar minimap for the enemy player.")] - public class JamsRadarInfo : TraitInfo - { - [Desc("Range for jamming.")] - public readonly WDist Range = WDist.Zero; - } - - public class JamsRadar { } }