Fix nulls

This commit is contained in:
EVAST9919 2017-11-11 07:50:40 +03:00
parent 072e5db6ef
commit 057ada0183
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public ClickableUsername()
};
}
[BackgroundDependencyLoader]
[BackgroundDependencyLoader(true)]
private void load(UserProfileOverlay profile)
{
this.profile = profile;

View File

@ -105,7 +105,7 @@ private void updateScores()
{
request?.Cancel();
if (beatmap == null)
if (!beatmap?.OnlineBeatmapID.HasValue ?? false)
{
clearAllScores();
return;