1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 21:13:01 +08:00

Fix username display on beatmap panels

This commit is contained in:
Dean Herbert 2017-10-17 11:24:59 +09:00
parent 0df474accb
commit c92e0e2dc1

View File

@ -135,7 +135,7 @@ namespace osu.Game.Beatmaps.Drawables
new OsuSpriteText
{
Font = @"Exo2.0-MediumItalic",
Text = $"{(beatmap.Metadata ?? beatmap.BeatmapSet.Metadata).Author}",
Text = $"{(beatmap.Metadata ?? beatmap.BeatmapSet.Metadata).Author.Username}",
TextSize = 16,
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft