From 5bade3789a5b8ee2a9ffb1158552cb597442ca10 Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed, 21 Aug 2024 22:42:24 -0500 Subject: [PATCH] Fix typo --- server/chat-plugins/seasons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/chat-plugins/seasons.ts b/server/chat-plugins/seasons.ts index 53f90385c6f2..06a20e427145 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[period]) { + for (const formatName of data.formatSchedule[findPeriod()]) { const formatid = `gen${Dex.gen}${formatName}`; const response = await getLadderTop(formatid); if (!response) continue; // ??