change time start moment

This commit is contained in:
ReznoRMichael 2021-07-19 21:50:46 +02:00
commit cf609758fd
3 changed files with 5 additions and 4 deletions

View file

@ -108,11 +108,11 @@ function Benchmark(bench) {
* Main Function. Checks Hollow Knight game completion by analyzing the save file
* @param {object} jsonObject Decoded save data in JavaScript Object Notation form (JSON)
*/
function HKCheckCompletion(jsonObject) {
function HKCheckCompletion(jsonObject, benchStart = new Date()) {
// start benchmark
// benchHKCCBegin = new Date();
benchmarkTimes.CheckCompletion.timeStart = new Date();
benchmarkTimes.CheckCompletion.timeStart = benchStart;
let HKPlayerData;
let HKWorldItems;