fixed scoreboard ordering

This commit is contained in:
Joshua Perry 2022-05-29 13:52:28 +01:00
parent 808c914faa
commit 8c039a2888
1 changed files with 1 additions and 6 deletions

View File

@ -100,12 +100,7 @@ function scoreBoard() {
}
function twoDimensionalSort(a, b) {
if (a[0] === b[0]) {
return 0;
}
else {
return (a[0] > b[0]) ? -1 : 1;
}
return b[0] - a[0];
}
document.addEventListener("DOMContentLoaded", load);