Skip to content
Snippets Groups Projects
Unverified Commit 71fd05a6 authored by alexander's avatar alexander Committed by Kat Marchán
Browse files

fix(scorers): Fixed error where wrong component for `SumOfScorers` was attached (#21)

parent 07b60ed8
No related branches found
No related tags found
No related merge requests found
......@@ -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(),
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment