Fix BeatmapDifficulty cloning regression

This commit is contained in:
Dean Herbert
2022-01-11 14:19:35 +09:00
parent b5975eee33
commit 286994a808
2 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Beatmaps
/// </summary>
public BeatmapDifficulty Clone()
{
var diff = new BeatmapDifficulty();
var diff = (BeatmapDifficulty)MemberwiseClone();
CopyTo(diff);
return diff;
}