From 298a0e6caded690dc6ddd3d3412441db626c6409 Mon Sep 17 00:00:00 2001 From: sebas77 Date: Tue, 31 Oct 2017 18:18:37 +0000 Subject: [PATCH] fixed mistake introduced with the last commit --- ECS/EnginesRoot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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