Skip to content

Commit d7437c3

Browse files
committed
fix: specify lazer status for <c pp calc
1 parent a96126f commit d7437c3

File tree

1 file changed

+5
-1
lines changed
  • bathbot/src/commands/osu/compare

1 file changed

+5
-1
lines changed

bathbot/src/commands/osu/compare/score.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,11 @@ async fn process_scores(
751751
let mut entries = Vec::<ScoreEmbedData>::with_capacity(scores.len());
752752

753753
for score in scores {
754-
let mut calc = Context::pp(map).mode(score.mode).mods(score.mods.clone());
754+
let mut calc = Context::pp(map)
755+
.mode(score.mode)
756+
.mods(score.mods.clone())
757+
.lazer(score.set_on_lazer);
758+
755759
let attrs = calc.performance().await;
756760
let stars = attrs.stars() as f32;
757761
let max_combo = attrs.max_combo();

0 commit comments

Comments
 (0)