Skip to content

Commit e3824c0

Browse files
committed
bug fix
1 parent acfe97c commit e3824c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exomia.ECS/EntityManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private void InitializeEntitySystems(uint managerMask)
8585
EntitySystemConfigurationAttribute attribute;
8686
if ((attribute = t.GetCustomAttribute<EntitySystemConfigurationAttribute>(false)) != null)
8787
{
88-
if (attribute.ManagerFlags == 0 || (attribute.ManagerFlags & managerMask) == managerMask)
88+
if (attribute.ManagerFlags == 0 || (managerMask & attribute.ManagerFlags) == attribute.ManagerFlags)
8989
{
9090
switch (attribute.EntitySystemType)
9191
{

0 commit comments

Comments
 (0)