codefactor please shut the fuck up

This commit is contained in:
Holly Stubbs 2022-01-07 13:50:32 +00:00
parent 15d4e20d94
commit 55eee64792
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -9,7 +9,7 @@ module.exports = class {
} }
onMatchFinished(playerScores = [{playerId:0,slotId:0,score:0,isCurrentlyFailed:false}]) { onMatchFinished(playerScores = [{playerId:0,slotId:0,score:0,isCurrentlyFailed:false}]) {
let lowestScore = 9999999999999999; let lowestScore = 8589934588;
for (let i = 0; i < playerScores.length; i++) { for (let i = 0; i < playerScores.length; i++) {
const playerScore = playerScores[i]; const playerScore = playerScores[i];
if (playerScore.score < lowestScore) lowestScore = playerScore.score; if (playerScore.score < lowestScore) lowestScore = playerScore.score;