improved json file

This commit is contained in:
Yannik
2023-05-26 17:42:28 +02:00
parent e97816759d
commit c031d41399
2 changed files with 6 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ function load() {
.then(Response => Response.json())
.then(data => {
dlgFile = data;
dlgLines = dlgFile["<start>"];
dlgLines = dlgFile;
typeWriter();
})
}

View File

@@ -1,7 +1,5 @@
{
"<start>": [
[
"Hello welcome to TextHorror!",
"This is the second line",
"Aand a third line"
]
}