mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Use score.User.OnlineID
instead of score.UserID
You'd hope that they'd be the same thing, but post-https://github.com/ppy/osu-server-spectator/pull/230 it turns out that cannot be guaranteed, so just attempt to use `User` in the encoder consistently everywhere...
This commit is contained in:
parent
abfb2c00bc
commit
9c6968c13a
@ -54,7 +54,7 @@ namespace osu.Game.Scoring.Legacy
|
||||
MaximumStatistics = score.MaximumStatistics.Where(kvp => kvp.Value != 0).ToDictionary(),
|
||||
ClientVersion = score.ClientVersion,
|
||||
Rank = score.Rank,
|
||||
UserID = score.UserID,
|
||||
UserID = score.User.OnlineID,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user