1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 17:30:00 +08:00

fixed one test

This commit is contained in:
Givikap120
2023-12-10 02:00:32 +02:00
Unverified
parent faf54bca43
commit 2d94841929
@@ -128,7 +128,8 @@ namespace osu.Game.Screens.Select.Details
IBeatmapDifficultyInfo baseDifficulty = BeatmapInfo?.Difficulty;
BeatmapDifficulty adjustedDifficulty = null;
if (baseDifficulty != null)
if (baseDifficulty != null &&
(mods.Value.Any(m => m is IApplicableToDifficulty) || mods.Value.Any(m => m is IApplicableToRate)))
{
BeatmapDifficulty originalDifficulty = new BeatmapDifficulty(baseDifficulty);