change time start moment
This commit is contained in:
parent
3d74767e31
commit
cf609758fd
3 changed files with 5 additions and 4 deletions
|
|
@ -109,9 +109,10 @@ function Benchmark(bench) {
|
|||
|
||||
|
||||
function HKCheckCompletion(jsonObject) {
|
||||
var benchStart = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
|
||||
// start benchmark
|
||||
// benchHKCCBegin = new Date();
|
||||
benchmarkTimes.CheckCompletion.timeStart = new Date();
|
||||
benchmarkTimes.CheckCompletion.timeStart = benchStart;
|
||||
var HKPlayerData;
|
||||
var HKWorldItems;
|
||||
var HKSceneData;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue