Skip to content

Commit

Permalink
maybe this is good enough?
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 12, 2024
1 parent 916861e commit 37f3a94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ document.getElementById("readInput").addEventListener("click", async function()
let time = megamerge[player][i];
let cmpTime = megamerge[player][j];
if (time.track != cmpTime.track || time.flap != cmpTime.flap) continue;
if (time.time == cmpTime.time && !removal.has(i) && !removedTimes.includes(time)) {
if (time.time == cmpTime.time && !removal.has(i)) {
for (let removedTime in removedTimes) 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 37f3a94

Please sign in to comment.