Poryscript now generates with newline

This commit is contained in:
hjk321 2021-03-07 10:16:54 -05:00
parent 09cfde8280
commit 0cebe438b6

View file

@ -2332,7 +2332,7 @@ QString Project::getScriptFileExtension(bool usePoryScript) const {
QString Project::getScriptDefaultString(bool usePoryScript, QString mapName) const {
if(usePoryScript)
return QString("mapscripts %1_MapScripts {}").arg(mapName);
return QString("mapscripts %1_MapScripts {}\n").arg(mapName);
else
return QString("%1_MapScripts::\n\t.byte 0\n").arg(mapName);
}