diff --git a/src/scorers.rs b/src/scorers.rs index 39d2980..5708627 100644 --- a/src/scorers.rs +++ b/src/scorers.rs @@ -261,7 +261,7 @@ impl ScorerBuilder for SumOfScorersBuilder { cmd.entity(scorer) .insert(Transform::default()) .insert(GlobalTransform::default()) - .insert(AllOrNothing { + .insert(SumOfScorers { threshold: self.threshold, scorers: scorers.into_iter().map(ScorerEnt).collect(), });