mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix results screen crashing for beatmaps with no online ID
This commit is contained in:
@ -140,14 +140,17 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
var req = FetchScores(scores => Schedule(() =>
|
||||
if (Score.Beatmap.OnlineBeatmapID != null)
|
||||
{
|
||||
foreach (var s in scores)
|
||||
panels.AddScore(s);
|
||||
}));
|
||||
var req = FetchScores(scores => Schedule(() =>
|
||||
{
|
||||
foreach (var s in scores)
|
||||
panels.AddScore(s);
|
||||
}));
|
||||
|
||||
if (req != null)
|
||||
api.Queue(req);
|
||||
if (req != null)
|
||||
api.Queue(req);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user