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

Use local variable for metadata instead

This commit is contained in:
recapitalverb 2020-03-17 23:23:51 +07:00
parent 592d8cbd13
commit d18b21ba32

View File

@ -163,7 +163,7 @@ namespace osu.Game.Screens.Ranking.Expanded
}.With(t =>
{
t.AddText("mapped by ");
t.AddText(score.Beatmap.Metadata.Author.Username, s => s.Font = s.Font.With(weight: FontWeight.SemiBold));
t.AddText(metadata.Author.Username, s => s.Font = s.Font.With(weight: FontWeight.SemiBold));
})
}
},