diff --git a/Source/MonoGame.Extended.Entities/EntityComponentSystem.cs b/Source/MonoGame.Extended.Entities/EntityComponentSystem.cs index ad9b94b1..6c37cb4b 100644 --- a/Source/MonoGame.Extended.Entities/EntityComponentSystem.cs +++ b/Source/MonoGame.Extended.Entities/EntityComponentSystem.cs @@ -64,6 +64,7 @@ namespace MonoGame.Extended.Entities typeof(AnimatedSprite).GetTypeInfo().Assembly }) .SelectMany(a => a.ExportedTypes) + .Distinct() .Select(x => x.GetTypeInfo()) .ToArray();