1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 18:44:06 +08:00

Handle parent usernames for legacy comments

This commit is contained in:
Andrei Zavatski
2019-10-09 11:18:26 +03:00
Unverified
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
}
};
}