Sanitise and remove some usages of Detach which are no longer required

This commit is contained in:
Dean Herbert
2022-01-12 15:34:39 +09:00
parent 5f7365e8f3
commit 34aa1bf21d
5 changed files with 4 additions and 8 deletions

View File

@ -188,7 +188,7 @@ namespace osu.Game.Beatmaps
public int BeatmapVersion;
public BeatmapInfo Clone() => (BeatmapInfo)this.Detach().MemberwiseClone();
public BeatmapInfo Clone() => (BeatmapInfo)MemberwiseClone();
public override string ToString() => this.GetDisplayTitle();