diff options
author | HampusM <hampus@hampusmat.com> | 2024-08-16 20:13:22 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-08-16 20:13:22 +0200 |
commit | 7d218b2525f90dfedcae02f3b3d0d2f7b9c99bd2 (patch) | |
tree | bc9523b82d138a7048ff583dd75e0a8c26fe5e6b /ecs/src/lib.rs | |
parent | 0f7811f3cba24c8a5927d5bcdfb30dd94de87102 (diff) |
feat(ecs): make relationships creatable without reference to world
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r-- | ecs/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs index 39b6bf3..e298919 100644 --- a/ecs/src/lib.rs +++ b/ecs/src/lib.rs @@ -145,7 +145,7 @@ impl World Comps: ComponentSequence, OptionsT: QueryOptions, { - Query::new(&self.data.component_storage) + Query::new(&self) } /// Peforms the actions that have been queued up using [`Actions`]. |