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), ' '));