diff --git a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj index cef7e49b34..c19a7a5305 100644 --- a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj +++ b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj @@ -484,6 +484,7 @@ + diff --git a/OpenRA.Mods.RA/RemoveImmediately.cs b/OpenRA.Mods.RA/RemoveImmediately.cs new file mode 100644 index 0000000000..e3181a4b14 --- /dev/null +++ b/OpenRA.Mods.RA/RemoveImmediately.cs @@ -0,0 +1,22 @@ +#region Copyright & License Information +/* + * Copyright 2007-2014 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. For more information, + * see COPYING. + */ +#endregion + +using OpenRA.FileFormats; +using OpenRA.Traits; + +namespace OpenRA.Mods.RA +{ + public class RemoveImmediatelyInfo : TraitInfo {} + + public class RemoveImmediately : INotifyAddedToWorld + { + public void AddedToWorld(Actor self) { self.Destroy(); } + } +}