mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Remove usage of ToBeatmapInfo
in APIScoreInfo.CreateScoreInfo
This commit is contained in:
parent
8a873bd6b1
commit
7bab487621
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user