mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Fix potential nullref
This commit is contained in:
parent
72f729cf3b
commit
7af2d650cd
@ -50,7 +50,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
|
|
||||||
private void updateDisplay()
|
private void updateDisplay()
|
||||||
{
|
{
|
||||||
bpm.Value = BeatmapSet?.OnlineInfo.BPM.ToString(@"0.##") ?? "-";
|
bpm.Value = BeatmapSet?.OnlineInfo?.BPM.ToString(@"0.##") ?? "-";
|
||||||
|
|
||||||
if (beatmap == null)
|
if (beatmap == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user