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
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ protected override void UpdateAfterChildren()
private void updateStatistics()
{
if (Beatmap == null)
if (Beatmap?.OnlineBeatmapID == null)
{
clearStats();
return;