1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 18:33:04 +08:00

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 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
}; };
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader(true)]
private void load(UserProfileOverlay profile) private void load(UserProfileOverlay profile)
{ {
this.profile = profile; this.profile = profile;

View File

@ -105,7 +105,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{ {
request?.Cancel(); request?.Cancel();
if (beatmap == null) if (!beatmap?.OnlineBeatmapID.HasValue ?? false)
{ {
clearAllScores(); clearAllScores();
return; return;