1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 16:13:55 +00:00

New hard reset method

This commit is contained in:
Acamaeda 2020-11-30 20:55:04 -05:00
parent c88555da94
commit acd6d2c4d3
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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();
}