mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
fix EcsGroup.Clear
This commit is contained in:
parent
2bb724bdcb
commit
f009ef9c1c
@ -301,7 +301,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < _count; i++)
|
for (int i = 1; i <= _count; i++)
|
||||||
{
|
{
|
||||||
_sparse[_dense[i]] = 0;
|
_sparse[_dense[i]] = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user