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