diff options
author | HampusM <hampus@hampusmat.com> | 2024-08-06 21:09:22 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-08-06 21:09:22 +0200 |
commit | c2787b021d93c243978250d705a9052392f1e9a0 (patch) | |
tree | b4d61d26ca4810bb2828cb73f4e15e9798ae13be /ecs/src/relationship.rs | |
parent | 94dfde94b68392aa071952375709f3eb4813729b (diff) |
feat(ecs): add query function to get entity UID by index
Diffstat (limited to 'ecs/src/relationship.rs')
-rw-r--r-- | ecs/src/relationship.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/relationship.rs b/ecs/src/relationship.rs index 9004f0f..964a47f 100644 --- a/ecs/src/relationship.rs +++ b/ecs/src/relationship.rs @@ -174,7 +174,7 @@ where let component = ComponentRefMut::new( entity - .get(component_index)? + .get_component(component_index)? .component .write_nonblock() .unwrap_or_else(|_| { |