mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +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();
|
base.LoadComplete();
|
||||||
|
|
||||||
var req = FetchScores(scores => Schedule(() =>
|
if (Score.Beatmap.OnlineBeatmapID != null)
|
||||||
{
|
{
|
||||||
foreach (var s in scores)
|
var req = FetchScores(scores => Schedule(() =>
|
||||||
panels.AddScore(s);
|
{
|
||||||
}));
|
foreach (var s in scores)
|
||||||
|
panels.AddScore(s);
|
||||||
|
}));
|
||||||
|
|
||||||
if (req != null)
|
if (req != null)
|
||||||
api.Queue(req);
|
api.Queue(req);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user