Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 12, 2024
1 parent a49f533 commit 2cf9192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkwpp-ctgp-doublecheck/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ document.getElementById("startChecker").addEventListener("click", async function
unrestricted: unrestrictedTimes,
normal: parseMKWPPTable(profileDocument.getElementsByClassName("k")[0])
}
for (let trackUnr in data.unrestricted["3lap"]){
for (let trackUnr in data.unrestricted["flap"]){
console.log(trackUnr);
console.log(data.unrestricted["3lap"][trackUnr]);
console.log(data.unrestricted["flap"][trackUnr]);
}
for (let trackUnr in data.unrestricted["3lap"]) for (let trackNor in data.normal["3lap"]) if (data.unrestricted["3lap"][trackUnr].time === data.normal["3lap"][trackNor].time) delete data.unrestricted["3lap"][trackUnr];
for (let trackUnr in data.unrestricted.flap) for (let trackNor in data.normal.flap) if (data.unrestricted.flap[trackUnr].time === data.normal.flap[trackNor].time) delete data.unrestricted.flap[trackUnr];
Expand Down

0 comments on commit 2cf9192

Please sign in to comment.