mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 07:07:18 +08:00
Handle parent usernames for legacy comments
This commit is contained in:
parent
0a56b041fd
commit
a0dfbfe148
@ -281,7 +281,7 @@ namespace osu.Game.Overlays.Comments
|
||||
new SpriteText
|
||||
{
|
||||
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold, italics: true),
|
||||
Text = comment.ParentComment?.User?.Username
|
||||
Text = comment.ParentComment?.User?.Username ?? comment.ParentComment?.LegacyName
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user