diff --git a/server/chat-plugins/seasons.ts b/server/chat-plugins/seasons.ts index 06a20e427145..53f90385c6f2 100644 --- a/server/chat-plugins/seasons.ts +++ b/server/chat-plugins/seasons.ts @@ -159,7 +159,7 @@ export async function updateBadgeholders() { if (!data.badgeholders[period]) { data.badgeholders[period] = {}; } - for (const formatName of data.formatSchedule[findPeriod()]) { + for (const formatName of data.formatSchedule[period]) { const formatid = `gen${Dex.gen}${formatName}`; const response = await getLadderTop(formatid); if (!response) continue; // ??