summaryrefslogtreecommitdiff
path: root/ecs/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r--ecs/src/lib.rs2
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`].