From 2449ede948e8ffdaeaeaad1d789bca3adb6b0a13 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 20 Oct 2023 15:54:17 +0100 Subject: [PATCH] removed unneeded array --- RTWLibPlus/parsers/DepthParse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RTWLibPlus/parsers/DepthParse.cs b/RTWLibPlus/parsers/DepthParse.cs index 265f7a8..c3ae974 100644 --- a/RTWLibPlus/parsers/DepthParse.cs +++ b/RTWLibPlus/parsers/DepthParse.cs @@ -108,7 +108,7 @@ private void SetNLWithDepth(List objs, int depth, int value, int curre } private string[] GetLinesRemoveEmpty(string text) { - return text.Split(Format.UniversalNewLine().ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + return text.Split(Format.UniversalNewLine(), StringSplitOptions.RemoveEmptyEntries); } private string[] GetLines(string text) {