1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Fix SoloScoreInfo not copying over legacy score ID when converting to ScoreInfo

This commit is contained in:
Bartłomiej Dach 2023-10-26 15:09:34 +02:00
parent 900530080f
commit c3e9f5184f
No known key found for this signature in database

View File

@ -190,6 +190,7 @@ namespace osu.Game.Online.API.Requests.Responses
var score = new ScoreInfo
{
OnlineID = OnlineID,
LegacyOnlineID = (long?)LegacyScoreId ?? -1,
User = User ?? new APIUser { Id = UserID },
BeatmapInfo = new BeatmapInfo { OnlineID = BeatmapID },
Ruleset = new RulesetInfo { OnlineID = RulesetID },