summaryrefslogtreecommitdiff
path: root/engine-ecs/src/pair.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ecs/src/pair.rs')
-rw-r--r--engine-ecs/src/pair.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine-ecs/src/pair.rs b/engine-ecs/src/pair.rs
index cede364..3668f1b 100644
--- a/engine-ecs/src/pair.rs
+++ b/engine-ecs/src/pair.rs
@@ -202,7 +202,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Pair::<Relation, Target>::uid()]);
+ terms_builder.present([Pair::<Relation, Target>::uid()]);
}
fn get_field<'world>(
@@ -235,7 +235,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Pair::<Relation, Target>::uid()]);
+ terms_builder.present([Pair::<Relation, Target>::uid()]);
}
fn get_field<'world>(
@@ -272,7 +272,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Self::uid()]);
+ terms_builder.present([Self::uid()]);
}
fn get_field<'world>(