From bb9769aa178f52b75551cc0276e12dbd918c33bb Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 29 Oct 2021 20:12:12 +0900 Subject: [PATCH] Fix null ruleset in another place --- osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapDetails.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapDetails.cs b/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapDetails.cs index 88acba756c..9856b28b00 100644 --- a/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapDetails.cs +++ b/osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapDetails.cs @@ -200,6 +200,7 @@ namespace osu.Game.Tests.Visual.SongSelect AddStep("online ratings/retries/fails", () => details.BeatmapInfo = new BeatmapInfo { OnlineBeatmapID = 162, + Ruleset = new OsuRuleset().RulesetInfo }); AddStep("set online", () => api.SetState(APIState.Online)); AddStep("set offline", () => api.SetState(APIState.Offline));