mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 12:52:53 +08:00
Use correct operation for 0 difficulty case
This commit is contained in:
parent
61afda1089
commit
c25e1bdeb5
@ -77,7 +77,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
/// </summary>
|
||||
public double CountDifficultStrains()
|
||||
{
|
||||
if (double.IsNaN(Difficulty))
|
||||
if (Difficulty == 0)
|
||||
return 0.0;
|
||||
|
||||
double consistentTopStrain = Difficulty / 10; // What would the top strain be if all strain values were identical
|
||||
|
Loading…
Reference in New Issue
Block a user