mirror of https://github.com/ppy/osu
Remove unnecessary parens
This commit is contained in:
parent
512094c17b
commit
9fb2402781
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue