Closed ceinicke closed 7 years ago
Line 42 should be "return systems.Where(x => x.TargetGroup.TargettedComponents.All(y => componentTypes.Contains(y)));" This way it checks that all targeted components are in the given list of components.
return systems.Where(x => x.TargetGroup.TargettedComponents.All(y => componentTypes.Contains(y)));
that's right
Been out of the country, just raise a PR for it.
Have added a fix for this and a test to verify behaviour for future versions, this will be released in a minor release shortly.
Line 42 should be "
return systems.Where(x => x.TargetGroup.TargettedComponents.All(y => componentTypes.Contains(y)));
" This way it checks that all targeted components are in the given list of components.