mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
New hard reset method
This commit is contained in:
parent
c88555da94
commit
acd6d2c4d3
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
# The Modding Tree changelog:
|
# The Modding Tree changelog:
|
||||||
|
|
||||||
|
- Made hard resetting more effective.
|
||||||
|
- Removed Herobrine from getStartClickables.
|
||||||
|
|
||||||
### v2.2.6 11/30/20
|
### v2.2.6 11/30/20
|
||||||
- Added goalDescription for challenges and made the new "canComplete" system the standard.
|
- Added goalDescription for challenges and made the new "canComplete" system the standard.
|
||||||
- Another attempt to fix challenges not visually updating.
|
- Another attempt to fix challenges not visually updating.
|
||||||
|
|
|
@ -332,7 +332,7 @@ function gameLoop(diff) {
|
||||||
|
|
||||||
function hardReset() {
|
function hardReset() {
|
||||||
if (!confirm("Are you sure you want to do this? You will lose all your progress!")) return
|
if (!confirm("Are you sure you want to do this? You will lose all your progress!")) return
|
||||||
player = getStartPlayer()
|
player = null
|
||||||
save();
|
save();
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue