diff --git a/ECS/EnginesRoot.cs b/ECS/EnginesRoot.cs index 6ff095b..bc9c6df 100644 --- a/ECS/EnginesRoot.cs +++ b/ECS/EnginesRoot.cs @@ -165,7 +165,7 @@ namespace Svelto.ECS { var interfaceType = implementedInterfaces[index]; - if (interfaceType.IsAssignableFrom(type) == false) + if (type.IsAssignableFrom(interfaceType) == false) continue; #if !NETFX_CORE