diff options
author | HampusM <hampus@hampusmat.com> | 2025-03-23 13:40:31 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-03-23 13:41:00 +0100 |
commit | 719f4052123dbcf74e35aa28cacd0caed152ca24 (patch) | |
tree | fc83cdf00b07ad5279d5a80b3bfacfc7531ba098 | |
parent | b0e8e28c720cf467f349319768c2e2050ed25673 (diff) |
perf(ecs): correct if stmt in create_missing_superset_node_edges
-rw-r--r-- | ecs/src/component/storage/graph.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/component/storage/graph.rs b/ecs/src/component/storage/graph.rs index e1f48f7..a221877 100644 --- a/ecs/src/component/storage/graph.rs +++ b/ecs/src/component/storage/graph.rs @@ -155,7 +155,7 @@ impl Graph ) { if superset_node.archetype().component_cnt() - > target_node.archetype().component_cnt() + > target_node.archetype().component_cnt() + 1 { let first_unique_comp_id = superset_node .archetype() |