mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Hide deprecated API storage variables and populate Score.User automatically.
This commit is contained in:
@ -142,7 +142,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
Children = new Drawable[]
|
||||
{
|
||||
avatar = new DelayedLoadWrapper(
|
||||
new Avatar(Score.User ?? new User { Id = Score.UserID })
|
||||
new Avatar(Score.User)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
CornerRadius = corner_radius,
|
||||
@ -169,7 +169,7 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
{
|
||||
nameLabel = new OsuSpriteText
|
||||
{
|
||||
Text = Score.User?.Username ?? Score.Username,
|
||||
Text = Score.User.Username,
|
||||
Font = @"Exo2.0-BoldItalic",
|
||||
TextSize = 23,
|
||||
},
|
||||
|
Reference in New Issue
Block a user