mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
feat: debug for all physics components and fix inspect by ldf key (#1848)
This commit is contained in:
@@ -281,6 +281,8 @@ std::vector<Entity*> EntityManager::GetEntitiesByComponent(const eReplicaCompone
|
||||
|
||||
withComp.push_back(entity);
|
||||
}
|
||||
} else {
|
||||
for (auto* const entity : m_Entities | std::views::values) withComp.push_back(entity);
|
||||
}
|
||||
return withComp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user