diff --git a/DragonECS.csproj b/DragonECS.csproj index 7a5a4c7..55f91c7 100644 --- a/DragonECS.csproj +++ b/DragonECS.csproj @@ -10,7 +10,7 @@ DCFApixels.DragonECS DragonECS - 0.8.40 + 0.8.41 DCFApixels ECS Framework for Game Engines with C# and .Net Platform DCFApixels diff --git a/package.json b/package.json index 9e09780..0610af7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DragonECS", "description": "C# Entity Component System Framework", "unity": "2020.3", - "version": "0.8.40", + "version": "0.8.41", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DragonECS.git" diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 515a0fd..24ac88e 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -373,14 +373,14 @@ namespace DCFApixels.DragonECS #if (DEBUG && !DISABLE_DEBUG) || !DISABLE_DRAGONECS_ASSERT_CHEKS if (mask._worldID != id) { Throw.World_MaskDoesntBelongWorld(); } #endif - for (int i = 0, iMax = mask._incChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._inc.Length; i < iMax; i++) { if (!_pools[mask._inc[i]].Has(entityID)) { return false; } } - for (int i = 0, iMax = mask._excChunckMasks.Length; i < iMax; i++) + for (int i = 0, iMax = mask._exc.Length; i < iMax; i++) { if (_pools[mask._exc[i]].Has(entityID)) {