From 194d2dad593df578855af3fc428a716242ce9bc4 Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Sun, 22 May 2022 10:27:02 -0400 Subject: [PATCH] Switch back to \n --- ZSharp/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZSharp/Main.cpp b/ZSharp/Main.cpp index 57a86cc..eddb7f9 100644 --- a/ZSharp/Main.cpp +++ b/ZSharp/Main.cpp @@ -587,7 +587,7 @@ int parseZSharp(string script) #endif // Split the script by ;, signifying a line ending - vector lines = split(script, ';'); + vector lines = split(script, '\n'); vector> words; for (int i = 0; i < (int)lines.size(); i++) // Then split said lines into indiviual words words.push_back(split(lines.at(i), ' '));