mirror of https://github.com/ppy/osu
Don't perform lookup of beatmap stats unless an online id is present
This commit is contained in:
parent
235865ef8f
commit
e5e454ddcd
|
@ -175,7 +175,7 @@ protected override void UpdateAfterChildren()
|
|||
|
||||
private void updateStatistics()
|
||||
{
|
||||
if (Beatmap == null)
|
||||
if (Beatmap?.OnlineBeatmapID == null)
|
||||
{
|
||||
clearStats();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue