Skip to content

Commit

Permalink
Remove unnecessary parens
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Nov 12, 2021
1 parent 512094c commit 9fb2402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beat
double speedRating = Math.Sqrt(skills[2].DifficultyValue()) * difficulty_multiplier;
double flashlightRating = Math.Sqrt(skills[3].DifficultyValue()) * difficulty_multiplier;

double sliderFactor = (aimRating > 0) ? aimRatingNoSliders / aimRating : 1;
double sliderFactor = aimRating > 0 ? aimRatingNoSliders / aimRating : 1;

if (mods.Any(h => h is OsuModRelax))
speedRating = 0.0;
Expand Down

0 comments on commit 9fb2402

Please sign in to comment.