diff --git a/mkwpp-ctgp-doublecheck/script.js b/mkwpp-ctgp-doublecheck/script.js index ce542d0..64eabd0 100644 --- a/mkwpp-ctgp-doublecheck/script.js +++ b/mkwpp-ctgp-doublecheck/script.js @@ -58,7 +58,7 @@ function resetOutput() { document.getElementById("startChecker").addEventListener("click", async function() { for (let ppid in ctgpLinks) { let chadsoftTimeSheet = {}; - let mkwppTimesheetRequest = parseTimesheetMKWPP(`https://corsproxy.io/?https://www.mariokart64.com/mkw/profile.php?pid=${i}`); + let mkwppTimesheetRequest = parseTimesheetMKWPP(`https://corsproxy.io/?https://www.mariokart64.com/mkw/profile.php?pid=${ppid}`); let mkwppTimesheet = await mkwppTimesheetRequest; }