diff --git a/Exiled.Loader/Features/Configs/CommentsObjectGraphVisitor.cs b/Exiled.Loader/Features/Configs/CommentsObjectGraphVisitor.cs index 18ad28cdf9..5b3e352e28 100644 --- a/Exiled.Loader/Features/Configs/CommentsObjectGraphVisitor.cs +++ b/Exiled.Loader/Features/Configs/CommentsObjectGraphVisitor.cs @@ -31,10 +31,13 @@ public override bool EnterMapping(IPropertyDescriptor key, IObjectDescriptor val { if (value is CommentsObjectDescriptor commentsDescriptor && commentsDescriptor.Comment is not null) { - context.Emit(new Comment(commentsDescriptor.Comment, false)); + foreach (string subComment in commentsDescriptor.Comment.Split('\n')) + { + context.Emit(new Comment(subComment, false)); + } } return base.EnterMapping(key, value, context); } } -} \ No newline at end of file +}