Add back parent-child linking

This commit is contained in:
smoogipoo
2020-02-21 18:46:14 +09:00
parent db78b95228
commit 1cd84754c8

View File

@ -96,7 +96,8 @@ namespace osu.Game.Overlays.Comments
}
else if (commentDictionary.TryGetValue(comment.ParentId.Value, out var parentDrawable))
{
// The comment's parent already has a corresponding drawable.
// The comment's parent already has a corresponding drawable, so add the parent<->child links.
comment.ParentComment = parentDrawable.Comment;
parentDrawable.Replies.Add(drawableComment);
}
else