1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Use ID rather than SoloScoreID

The latter is apparently not going to be a thing anymore.
This commit is contained in:
Bartłomiej Dach 2023-10-16 12:00:33 +02:00
parent fb2293821a
commit e2192806e4
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View File

@ -245,7 +245,6 @@ namespace osu.Game.Tests.Visual.Playlists
var multiplayerUserScore = new MultiplayerScore
{
ID = highestScoreId,
SoloScoreID = (ulong?)highestScoreId,
Accuracy = userScore.Accuracy,
Passed = userScore.Passed,
Rank = userScore.Rank,
@ -267,7 +266,6 @@ namespace osu.Game.Tests.Visual.Playlists
multiplayerUserScore.ScoresAround.Lower.Scores.Add(new MultiplayerScore
{
ID = nextLowest,
SoloScoreID = (ulong?)nextLowest,
Accuracy = userScore.Accuracy,
Passed = true,
Rank = userScore.Rank,
@ -284,7 +282,6 @@ namespace osu.Game.Tests.Visual.Playlists
multiplayerUserScore.ScoresAround.Higher.Scores.Add(new MultiplayerScore
{
ID = nextHighest,
SoloScoreID = (ulong?)nextHighest,
Accuracy = userScore.Accuracy,
Passed = true,
Rank = userScore.Rank,
@ -318,7 +315,6 @@ namespace osu.Game.Tests.Visual.Playlists
result.Scores.Add(new MultiplayerScore
{
ID = id,
SoloScoreID = (ulong?)id,
Accuracy = 1,
Passed = true,
Rank = ScoreRank.X,

View File

@ -78,7 +78,7 @@ namespace osu.Game.Online.Rooms
var scoreInfo = new ScoreInfo
{
OnlineID = (long?)SoloScoreID ?? -1,
OnlineID = ID,
TotalScore = TotalScore,
MaxCombo = MaxCombo,
BeatmapInfo = beatmap,