Skip to content

Commit

Permalink
Minor update to CSV parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
AMacro committed Jul 14, 2024
1 parent fa0fbfb commit 1827ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Multiplayer/Utils/Csv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class Csv
public static ReadOnlyDictionary<string, Dictionary<string, string>> Parse(string data)
{
// Split the input data into lines
string[] separators = new string[] { "\r\n" };
string[] separators = new string[] { "\r\n", "\n" };
string[] lines = data.Split(separators, StringSplitOptions.None);

// Use an OrderedDictionary to preserve the insertion order of keys
Expand Down

0 comments on commit 1827ded

Please sign in to comment.