Remove all usage of BaseDifficulty (and access Difficulty instead)

This commit is contained in:
Dean Herbert
2022-01-18 22:57:39 +09:00
parent 66ed4270c0
commit 7f65f3a47f
34 changed files with 44 additions and 51 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Beatmaps
difficulty = value;
if (beatmapInfo != null)
beatmapInfo.BaseDifficulty = difficulty.Clone();
beatmapInfo.Difficulty = difficulty.Clone();
}
}
@ -41,8 +41,8 @@ namespace osu.Game.Beatmaps
{
beatmapInfo = value;
if (beatmapInfo?.BaseDifficulty != null)
Difficulty = beatmapInfo.BaseDifficulty.Clone();
if (beatmapInfo?.Difficulty != null)
Difficulty = beatmapInfo.Difficulty.Clone();
}
}
@ -57,7 +57,7 @@ namespace osu.Game.Beatmaps
AuthorString = @"Unknown Creator",
},
DifficultyName = @"Normal",
BaseDifficulty = Difficulty,
Difficulty = Difficulty,
};
}