mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
bug fix
This commit is contained in:
parent
753250025f
commit
d3081f19de
@ -553,9 +553,12 @@ namespace DCFApixels.DragonECS
|
|||||||
}
|
}
|
||||||
for (int i = 0; i < _groups.Count; i++)
|
for (int i = 0; i < _groups.Count; i++)
|
||||||
{
|
{
|
||||||
if (_groups[i].TryGetTarget(out EcsGroup group) && group.IsReleased)
|
if (_groups[i].TryGetTarget(out EcsGroup group))
|
||||||
{
|
{
|
||||||
group.OnReleaseDelEntityBuffer_Internal(buffer);
|
if(group.IsReleased)
|
||||||
|
{
|
||||||
|
group.OnReleaseDelEntityBuffer_Internal(buffer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user