From 91cf86a80e630aecfc09a16e47fe74c378953eb6 Mon Sep 17 00:00:00 2001 From: ReznoRMichael Date: Wed, 7 Jul 2021 23:55:38 +0200 Subject: [PATCH] update readme --- README.md | 4 ++-- src/js/HKCheckCompletion.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ccab380..4ad8025 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,9 @@ If you like the tool and wish it developed further with more functions and easie * v1.5.0 In progress: - — Code optimizations. Should work a bit faster now, especially on mobile devices. + — Rewrote and optimized a large part of the code. Should work a bit faster now, especially on mobile devices. - — Rearranged custom hint system. More emphasis on gradually increasing difficulty (Watcher Knights). + — Rearranged custom hint system. More emphasis on gradually increasing difficulty (magic words: Watcher Knights). — Fixed incorrect display of Soul orbs amount for early HK save file versions (like 1.0.0.6). diff --git a/src/js/HKCheckCompletion.js b/src/js/HKCheckCompletion.js index 4e5087b..1153e84 100644 --- a/src/js/HKCheckCompletion.js +++ b/src/js/HKCheckCompletion.js @@ -1259,7 +1259,7 @@ function CheckMrMushroomState(section, entry, mrMushroomState = 0) { */ function CheckHintsTrue(section, dataObject, playerData, worldData) { - let sFillText = ""; + /* let sFillText = ""; */ if (playerData.killedHollowKnight === true) { // a text to show when player already finished their first playthrough (killed Hollow Knight first time) @@ -1269,6 +1269,7 @@ function CheckHintsTrue(section, dataObject, playerData, worldData) { } for (let i in dataObject) { + if (i === "endOfHints") { break; } else if (playerData[i] === true) {