added reload button
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<img draggable="false" hidden="true" id="triangle" src="text_horror/assets/triangle.png">
|
<img draggable="false" hidden="true" id="triangle" src="text_horror/assets/triangle.png">
|
||||||
<p class="thx-for-playing">Danke fürs spielen!</p>
|
<p class="thx-for-playing">Danke fürs spielen!</p>
|
||||||
|
<p class="thx-for-playing" onclick="reloadGame()"><br><br><u>Zum letzten Checkpoint</u></p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@@ -49,6 +49,9 @@ function resetGame() {
|
|||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function reloadGame() {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
//change current dialogue lines with dictionary keys
|
//change current dialogue lines with dictionary keys
|
||||||
function changeDlg(dlgKey) {
|
function changeDlg(dlgKey) {
|
||||||
if (typeof dlgFile[dlgKey] === "string") {
|
if (typeof dlgFile[dlgKey] === "string") {
|
||||||
|
Reference in New Issue
Block a user