mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-19 02:24:37 +08:00
fix
This commit is contained in:
parent
c05a038e77
commit
11acff9bac
@ -44,6 +44,7 @@ namespace DCFApixels.DragonECS
|
|||||||
private Builder(EcsWorld world)
|
private Builder(EcsWorld world)
|
||||||
{
|
{
|
||||||
_world = world;
|
_world = world;
|
||||||
|
_subjects = new List<CombinedSubject>();
|
||||||
_inc = new HashSet<int>(8);
|
_inc = new HashSet<int>(8);
|
||||||
_exc = new HashSet<int>(4);
|
_exc = new HashSet<int>(4);
|
||||||
}
|
}
|
||||||
@ -225,10 +226,10 @@ namespace DCFApixels.DragonECS
|
|||||||
_dummyHashSet.Clear();
|
_dummyHashSet.Clear();
|
||||||
foreach (var item in array)
|
foreach (var item in array)
|
||||||
{
|
{
|
||||||
if (_dummyHashSet.Contains(item)) return false;
|
if (_dummyHashSet.Contains(item)) return true;
|
||||||
_dummyHashSet.Add(item);
|
_dummyHashSet.Add(item);
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
private static string CreateLogString(Type worldType, int[] inc, int[] exc)
|
private static string CreateLogString(Type worldType, int[] inc, int[] exc)
|
||||||
|
Loading…
Reference in New Issue
Block a user