Don't perform lookup of beatmap stats unless an online id is present

This commit is contained in:
Jamie Taylor
2019-03-07 16:17:12 +09:00
parent 235865ef8f
commit e5e454ddcd

View File

@ -175,7 +175,7 @@ namespace osu.Game.Screens.Select
private void updateStatistics() private void updateStatistics()
{ {
if (Beatmap == null) if (Beatmap?.OnlineBeatmapID == null)
{ {
clearStats(); clearStats();
return; return;