Skip to content

Commit

Permalink
forgot old code
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 12, 2024
1 parent 1bdd1a5 commit d3e4cf3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,6 @@ document.getElementById("readInput").addEventListener("click", async function()
out.push(`(${data.players[player]},${catString},${track*2 + flap},${time.time / 1000},${time.date},${time.comment === "" ? "N/A" : time.comment})`);
}
}

for (let submission of data.submissions) {
writeToOutput("Date: "+submission.date);
submission.times.sort((a,b)=>(a.track*2 + a.flap)-(b.track*2 + b.flap))
writeToOutput("Times submitted: "+submission.times.length);
for (let time of submission.times) {
writeToOutput(`>> ${writeTimeOutput(time)}`);
}
}
for (let i of out) writeToOutput(i);
});

Expand Down

0 comments on commit d3e4cf3

Please sign in to comment.