summaryrefslogtreecommitdiff
path: root/ecs/src/query.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/query.rs')
-rw-r--r--ecs/src/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/query.rs b/ecs/src/query.rs
index 61e2797..73792b3 100644
--- a/ecs/src/query.rs
+++ b/ecs/src/query.rs
@@ -211,7 +211,7 @@ where
matching_entity
.components
.iter()
- .map(|component| &component.component),
+ .map(|component| &**component),
))
}
}