Use OnlineID instead of legacy IDs for equality and lookups

This commit is contained in:
Dean Herbert
2021-12-10 15:28:41 +09:00
parent 261847bbec
commit bf1418bafc
14 changed files with 22 additions and 21 deletions

View File

@ -111,7 +111,7 @@ namespace osu.Game.Online.Leaderboards
background = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = user.Id == api.LocalUser.Value.Id && allowHighlight ? colour.Green : Color4.Black,
Colour = user.OnlineID == api.LocalUser.Value.Id && allowHighlight ? colour.Green : Color4.Black,
Alpha = background_alpha,
},
},