Fix potential nullref

This commit is contained in:
smoogipoo 2019-06-13 18:31:12 +09:00
parent 72f729cf3b
commit 7af2d650cd
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public BeatmapInfo Beatmap
private void updateDisplay()
{
bpm.Value = BeatmapSet?.OnlineInfo.BPM.ToString(@"0.##") ?? "-";
bpm.Value = BeatmapSet?.OnlineInfo?.BPM.ToString(@"0.##") ?? "-";
if (beatmap == null)
{