mirror of
https://github.com/ppy/osu
synced 2025-02-27 08:01:45 +00:00
ToString should never return null
This commit is contained in:
parent
cc4ee2df05
commit
ce62f6b56e
@ -61,6 +61,6 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
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
Block a user