mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 00:27:25 +08:00
Fix nullref in the leaderboard's test case
This commit is contained in:
parent
997d0c9053
commit
e1e4eb78e3
@ -55,7 +55,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
i = 0;
|
||||
foreach (var s in scores)
|
||||
{
|
||||
s.Ruleset = beatmap.Ruleset;
|
||||
s.Ruleset = beatmap?.Ruleset;
|
||||
|
||||
var ls = new LeaderboardScore(s, 1 + i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user