1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix a couple of new r# inspections

This commit is contained in:
Dean Herbert 2023-11-23 17:11:40 +09:00
parent 9a6857bfad
commit a80a5be4ec
No known key found for this signature in database

View File

@ -119,12 +119,11 @@ namespace osu.Game.Beatmaps
IBeatmap IBeatmap.Clone() => Clone();
public Beatmap<T> Clone() => (Beatmap<T>)MemberwiseClone();
public override string ToString() => BeatmapInfo.ToString();
}
public class Beatmap : Beatmap<HitObject>
{
public new Beatmap Clone() => (Beatmap)base.Clone();
public override string ToString() => BeatmapInfo?.ToString() ?? base.ToString();
}
}