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 37f3a94 commit e375c24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ document.getElementById("readInput").addEventListener("click", async function()
let cmpTime = megamerge[player][j];
if (time.track != cmpTime.track || time.flap != cmpTime.flap) continue;
if (time.time == cmpTime.time && !removal.has(i)) {
for (let removedTime in removedTimes) if (JSON.stringify(removedTime) === JSON.stringify(time)) continue;
for (let removedTime in removedTimes) {
console.log(removedTime);
if (JSON.stringify(removedTime) === JSON.stringify(time)) continue};
removal.add(i);
removedTimes.push(time);
writeToOutput(`Removed ${writeTimeOutput(time)}, it has been submitted twice.`);
Expand Down

0 comments on commit e375c24

Please sign in to comment.