1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:43:21 +08:00

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
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C

View File

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