diff options
Diffstat (limited to 'ecs/src/query.rs')
-rw-r--r-- | ecs/src/query.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ecs/src/query.rs b/ecs/src/query.rs index 06633bc..dea3039 100644 --- a/ecs/src/query.rs +++ b/ecs/src/query.rs @@ -68,6 +68,7 @@ where .find_entities(Comps::metadata()) .map(|archetype| archetype.entities()) .flatten() + .filter(|entity| OptionsT::entity_filter(entity.components())) .nth(entity_index)? .uid(), ) |