Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baetz-daniel committed Dec 14, 2020
1 parent acfe97c commit e3824c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exomia.ECS/EntityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private void InitializeEntitySystems(uint managerMask)
EntitySystemConfigurationAttribute attribute;
if ((attribute = t.GetCustomAttribute<EntitySystemConfigurationAttribute>(false)) != null)
{
if (attribute.ManagerFlags == 0 || (attribute.ManagerFlags & managerMask) == managerMask)
if (attribute.ManagerFlags == 0 || (managerMask & attribute.ManagerFlags) == attribute.ManagerFlags)
{
switch (attribute.EntitySystemType)
{
Expand Down

0 comments on commit e3824c0

Please sign in to comment.