Merge branch 'bf'

This commit is contained in:
Mikhail 2024-08-03 22:26:15 +08:00
commit 64a9069270
3 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,7 @@
<RootNamespace>DCFApixels.DragonECS</RootNamespace> <RootNamespace>DCFApixels.DragonECS</RootNamespace>
<Title>DragonECS</Title> <Title>DragonECS</Title>
<Version>0.8.39</Version> <Version>0.8.40</Version>
<Authors>DCFApixels</Authors> <Authors>DCFApixels</Authors>
<Description>ECS Framework for Game Engines with C# and .Net Platform</Description> <Description>ECS Framework for Game Engines with C# and .Net Platform</Description>
<Copyright>DCFApixels</Copyright> <Copyright>DCFApixels</Copyright>

View File

@ -8,7 +8,7 @@
"displayName": "DragonECS", "displayName": "DragonECS",
"description": "C# Entity Component System Framework", "description": "C# Entity Component System Framework",
"unity": "2020.3", "unity": "2020.3",
"version": "0.8.39", "version": "0.8.40",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/DCFApixels/DragonECS.git" "url": "https://github.com/DCFApixels/DragonECS.git"

View File

@ -553,10 +553,13 @@ 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))
{
if(group.IsReleased)
{ {
group.OnReleaseDelEntityBuffer_Internal(buffer); group.OnReleaseDelEntityBuffer_Internal(buffer);
} }
}
else else
{ {
RemoveGroupAt(i--); RemoveGroupAt(i--);