mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:05:37 +08:00
Fix nulls
This commit is contained in:
parent
072e5db6ef
commit
057ada0183
@ -49,7 +49,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(UserProfileOverlay profile)
|
||||
{
|
||||
this.profile = profile;
|
||||
|
@ -105,7 +105,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
{
|
||||
request?.Cancel();
|
||||
|
||||
if (beatmap == null)
|
||||
if (!beatmap?.OnlineBeatmapID.HasValue ?? false)
|
||||
{
|
||||
clearAllScores();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user