From f628c0efa1e9b7ea2839fd3bb5334c4e5cf58962 Mon Sep 17 00:00:00 2001 From: Yannik <80621863+vaporvee@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:55:34 +0200 Subject: [PATCH] added reload button --- index.html | 1 + text_horror/app.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/index.html b/index.html index 7d4849e..1b9b357 100644 --- a/index.html +++ b/index.html @@ -35,6 +35,7 @@

Danke fürs spielen!

+



Zum letzten Checkpoint

\ No newline at end of file diff --git a/text_horror/app.js b/text_horror/app.js index c9f0101..c62dd16 100644 --- a/text_horror/app.js +++ b/text_horror/app.js @@ -49,6 +49,9 @@ function resetGame() { location.reload(); } } +function reloadGame() { + location.reload(); +} //change current dialogue lines with dictionary keys function changeDlg(dlgKey) { if (typeof dlgFile[dlgKey] === "string") {