From 7bab48762190b888dda9bb40c2c228397c0b1ac4 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 4 Nov 2021 16:17:50 +0900 Subject: [PATCH] Remove usage of `ToBeatmapInfo` in `APIScoreInfo.CreateScoreInfo` --- osu.Game/Online/API/Requests/Responses/APIScoreInfo.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/osu.Game/Online/API/Requests/Responses/APIScoreInfo.cs b/osu.Game/Online/API/Requests/Responses/APIScoreInfo.cs index 5395fe0429..82f56d27fd 100644 --- a/osu.Game/Online/API/Requests/Responses/APIScoreInfo.cs +++ b/osu.Game/Online/API/Requests/Responses/APIScoreInfo.cs @@ -98,7 +98,7 @@ namespace osu.Game.Online.API.Requests.Responses { TotalScore = TotalScore, MaxCombo = MaxCombo, - BeatmapInfo = Beatmap?.ToBeatmapInfo(rulesets), + BeatmapInfo = beatmap, User = User, Accuracy = Accuracy, OnlineScoreID = OnlineID, @@ -111,9 +111,6 @@ namespace osu.Game.Online.API.Requests.Responses Mods = modInstances, }; - if (beatmap != null) - scoreInfo.BeatmapInfo = beatmap; - if (Statistics != null) { foreach (var kvp in Statistics)