diff --git a/OpenRA.Game/ObjectCreator.cs b/OpenRA.Game/ObjectCreator.cs index 57ae925731..c734aebf10 100755 --- a/OpenRA.Game/ObjectCreator.cs +++ b/OpenRA.Game/ObjectCreator.cs @@ -84,13 +84,13 @@ namespace OpenRA return ctor.Invoke( a ); } - public IEnumerable GetTypesImplementing() - { - var it = typeof(T); - return ModAssemblies.Select( ma => ma.First ).Distinct() - .SelectMany(ma => ma.GetTypes() - .Where(t => t != it && it.IsAssignableFrom(t))); - } + public IEnumerable GetTypesImplementing() + { + var it = typeof(T); + return ModAssemblies.Select( ma => ma.First ).Distinct() + .SelectMany(ma => ma.GetTypes() + .Where(t => t != it && it.IsAssignableFrom(t))); + } [AttributeUsage( AttributeTargets.Parameter )] public class ParamAttribute : Attribute