mirror of https://github.com/ppy/osu
ToString should never return null
This commit is contained in:
parent
cc4ee2df05
commit
ce62f6b56e
|
@ -61,6 +61,6 @@ public class Beatmap : Beatmap<HitObject>
|
|||
{
|
||||
public new Beatmap Clone() => (Beatmap)base.Clone();
|
||||
|
||||
public override string ToString() => BeatmapInfo?.ToString();
|
||||
public override string ToString() => BeatmapInfo?.ToString() ?? base.ToString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue