1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix nullref possibility.

This commit is contained in:
Dean Herbert 2017-04-24 19:25:35 +09:00
parent 6aa6e5eef7
commit c55d406b44

View File

@ -60,6 +60,8 @@ namespace osu.Game.Screens.Select
private void updateStats()
{
if (beatmap == null) return;
description.Text = beatmap.Version;
source.Text = beatmap.Metadata.Source;
tags.Text = beatmap.Metadata.Tags;