codefactor please shut the fuck up
This commit is contained in:
parent
15d4e20d94
commit
55eee64792
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue