mirror of https://github.com/ppy/osu
Fix nulls
This commit is contained in:
parent
072e5db6ef
commit
057ada0183
|
@ -49,7 +49,7 @@ public ClickableUsername()
|
|||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(UserProfileOverlay profile)
|
||||
{
|
||||
this.profile = profile;
|
||||
|
|
|
@ -105,7 +105,7 @@ private void updateScores()
|
|||
{
|
||||
request?.Cancel();
|
||||
|
||||
if (beatmap == null)
|
||||
if (!beatmap?.OnlineBeatmapID.HasValue ?? false)
|
||||
{
|
||||
clearAllScores();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue