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(Response => Response.json())
.then(data => { .then(data => {
dlgFile = data; dlgFile = data;
dlgLines = dlgFile["<start>"]; dlgLines = dlgFile;
typeWriter(); typeWriter();
}) })
} }

View File

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