mirror of
https://github.com/ppy/osu
synced 2025-03-22 02:47:04 +00:00
Fix nullref possibility.
This commit is contained in:
parent
6aa6e5eef7
commit
c55d406b44
@ -60,6 +60,8 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void updateStats()
|
private void updateStats()
|
||||||
{
|
{
|
||||||
|
if (beatmap == null) return;
|
||||||
|
|
||||||
description.Text = beatmap.Version;
|
description.Text = beatmap.Version;
|
||||||
source.Text = beatmap.Metadata.Source;
|
source.Text = beatmap.Metadata.Source;
|
||||||
tags.Text = beatmap.Metadata.Tags;
|
tags.Text = beatmap.Metadata.Tags;
|
||||||
|
Loading…
Reference in New Issue
Block a user