diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-02 18:47:18 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-02 18:47:18 +0200 |
| commit | 9dfd0a9ef9a54dab5fb88ed9158bd4184212008e (patch) | |
| tree | e40cbfb018c487d78ef1c570258a87a1d2245e98 /ecs/src/pair.rs | |
| parent | e698922e86c217a261db114ce0392060503f0013 (diff) | |
fix(ecs): make system with local comps not low/high priority in run order
Diffstat (limited to 'ecs/src/pair.rs')
| -rw-r--r-- | ecs/src/pair.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/pair.rs b/ecs/src/pair.rs index b4bfa57..0d353e3 100644 --- a/ecs/src/pair.rs +++ b/ecs/src/pair.rs @@ -460,13 +460,13 @@ impl<'world, Relation, Target> WithWildcard<'world, Relation, Target> } } -impl<Relation> WithWildcard<'_, Relation, Wildcard> +impl<'world, Relation> WithWildcard<'world, Relation, Wildcard> where Relation: Component, { /// Attempts to retrieve the target as a entity, returning `None` if not found. #[must_use] - pub fn get_target_ent(&self) -> Option<EntityHandle<'_>> + pub fn get_target_ent(&self) -> Option<EntityHandle<'world>> { let archetype = self .world |
