diff --git a/src/EcsSubject.cs b/src/EcsSubject.cs index 57829d1..6a7d91b 100644 --- a/src/EcsSubject.cs +++ b/src/EcsSubject.cs @@ -104,6 +104,9 @@ namespace DCFApixels.DragonECS public TOtherSubject Combine() where TOtherSubject : EcsSubject { var result = _world.GetSubject(); + _inc.ExceptWith(result.mask._exc);//удаляю конфликтующие ограничения + _exc.ExceptWith(result.mask._inc);//удаляю конфликтующие ограничения + _inc.UnionWith(result.mask._inc); _exc.UnionWith(result.mask._exc); return result;