mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-24 15:00:11 -05:00
Seasons: Fix badges being awarded incorrectly
This commit is contained in:
parent
5b5653c8db
commit
7ea985eb91
|
|
@ -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; // ??
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user