Skip to content

Commit

Permalink
#123 Fix for EntityGroup isn't invalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong committed Aug 24, 2022
1 parent b09b717 commit fefb4d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Projects/Skylicht/Engine/Source/Entity/CEntityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ namespace Skylicht
entity->setAlive(true);

m_unused.erase(last);

notifyUpdateSortEntities();
return entity;
}

Expand Down

0 comments on commit fefb4d4

Please sign in to comment.