Skip to content

Commit

Permalink
Populate TotalScoreInfo when converting SoloScoreInfo to ScoreInfo
Browse files Browse the repository at this point in the history
For use in ppy/osu-tools#195.
  • Loading branch information
bdach committed Feb 6, 2024
1 parent d784934 commit 9314de6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osu.Game/Online/API/Requests/Responses/SoloScoreInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public ScoreInfo ToScoreInfo(Mod[] mods, IBeatmapInfo? beatmap = null)
Ruleset = new RulesetInfo { OnlineID = RulesetID },
Passed = Passed,
TotalScore = TotalScore,
LegacyTotalScore = LegacyTotalScore,
Accuracy = Accuracy,
MaxCombo = MaxCombo,
Rank = Rank,
Expand Down

0 comments on commit 9314de6

Please sign in to comment.