diff options
author | HampusM <hampus@hampusmat.com> | 2025-04-25 15:38:57 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-04-25 15:38:57 +0200 |
commit | 56f0f9792bc16e2e870b42c48313751208c30d86 (patch) | |
tree | ed46cd85ca3cb1e69c7ad114c98ead9dec9658b1 | |
parent | 3884ca7acbed316ebeea2b1e20507dcebae9bd49 (diff) |
chore(ecs): add todo comment
-rw-r--r-- | ecs/src/component/storage.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecs/src/component/storage.rs b/ecs/src/component/storage.rs index f5cce57..1e45f63 100644 --- a/ecs/src/component/storage.rs +++ b/ecs/src/component/storage.rs @@ -369,6 +369,9 @@ impl Storage self.graph.dfs_archetype_add_edges(ArchetypeId::new(&[])) else { // If the root archetype doesn't exist, no other archetype can exist either + // + // TODO: The above comment is not true. Cases where imaginary archetypes have + // been created should be handled as well return Vec::new(); }; |