mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Use DifficultyRange
helper method in one more place
This commit is contained in:
parent
3a5490892c
commit
040d0970f2
@ -72,7 +72,7 @@ namespace osu.Game.Beatmaps
|
||||
if (difficulty > 5)
|
||||
return mid + (max - mid) * DifficultyRange(difficulty);
|
||||
if (difficulty < 5)
|
||||
return mid - (mid - min) * (5 - difficulty) / 5;
|
||||
return mid + (mid - min) * DifficultyRange(difficulty);
|
||||
|
||||
return mid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user