From 739ecf048c7dd5390d4302e93c62feb5ef18f447 Mon Sep 17 00:00:00 2001 From: MacChaeger Date: Tue, 19 Dec 2023 23:09:23 -0600 Subject: [PATCH] I don't know how to make this line fit --- data/cg-teams.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/data/cg-teams.ts b/data/cg-teams.ts index 9e9388a894a14..0d24be79de455 100644 --- a/data/cg-teams.ts +++ b/data/cg-teams.ts @@ -238,9 +238,7 @@ export default class TeamGenerator { } movePoolIsTrimmed = true; } else { - weights = movePool.map((m) => { - return this.getMoveWeight(this.dex.moves.get(m), teamStats, species, moves, movesStats, ability, level) - }); + weights = movePool.map(m => this.getMoveWeight(this.dex.moves.get(m), teamStats, species, moves, movesStats, ability, level)); } const moveID = this.weightedRandomPick(movePool, weights, {remove: true});