1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 14:52:55 +08:00

Use DifficultyRange helper method in one more place

This commit is contained in:
Dean Herbert 2023-10-18 23:54:18 +09:00
parent 3a5490892c
commit 040d0970f2
No known key found for this signature in database

View File

@ -72,7 +72,7 @@ namespace osu.Game.Beatmaps
if (difficulty > 5) if (difficulty > 5)
return mid + (max - mid) * DifficultyRange(difficulty); return mid + (max - mid) * DifficultyRange(difficulty);
if (difficulty < 5) if (difficulty < 5)
return mid - (mid - min) * (5 - difficulty) / 5; return mid + (mid - min) * DifficultyRange(difficulty);
return mid; return mid;
} }