From acd6d2c4d37e1dff063d27315dba79a997f86dc7 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Mon, 30 Nov 2020 20:55:04 -0500 Subject: [PATCH] New hard reset method --- changelog.md | 3 +++ js/game.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 219b93b..c350827 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # The Modding Tree changelog: +- Made hard resetting more effective. +- Removed Herobrine from getStartClickables. + ### v2.2.6 11/30/20 - Added goalDescription for challenges and made the new "canComplete" system the standard. - Another attempt to fix challenges not visually updating. diff --git a/js/game.js b/js/game.js index 4e7781b..2b4efa2 100644 --- a/js/game.js +++ b/js/game.js @@ -332,7 +332,7 @@ function gameLoop(diff) { function hardReset() { if (!confirm("Are you sure you want to do this? You will lose all your progress!")) return - player = getStartPlayer() + player = null save(); window.location.reload(); }