Fix analysesByTier

This commit is contained in:
André Bastos Dias 2026-01-06 18:14:52 +00:00
parent a1575b9dc3
commit 1e44db0d9d

View File

@ -427,7 +427,7 @@ async function getAnalysesByFormat(pokemon: string, gen: GenerationNum) {
}
const analysesByFormat = new Map<Format, smogon.Analysis[]>();
for (const [tier, analyses] of analysesByTier.entries()) {
for (const [tier, analyses] of analysesByTier.analyses.entries()) {
let t = toID(tier);
// Dumb hack, need to talk to BSS people
if (gen === 9 && t === 'battlestadiumsingles') {