Merge branch 'master' into offmed-staging
This commit is contained in:
@@ -516,11 +516,12 @@ public sealed class NPCUtilitySystem : EntitySystem
|
||||
{
|
||||
foreach (var comp in compFilter.Components)
|
||||
{
|
||||
if (HasComp(ent, comp.Value.Component.GetType()))
|
||||
continue;
|
||||
|
||||
_entityList.Add(ent);
|
||||
break;
|
||||
var hasComp = HasComp(ent, comp.Value.Component.GetType());
|
||||
if (!compFilter.RetainWithComp == hasComp)
|
||||
{
|
||||
_entityList.Add(ent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user