ToString should never return null

This commit is contained in:
Dean Herbert 2019-08-12 01:40:11 +09:00
parent cc4ee2df05
commit ce62f6b56e
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}