Skip to content

Commit

Permalink
Seasons: Show the correct formats for old season records
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Dec 29, 2024
1 parent 46309cf commit 558245b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chat-plugins/seasons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export const pages: Chat.PageTable = {
);
for (const s of seasonsDesc) {
buf += `<h3>Season ${s}</h3><hr />`;
for (const f in data.badgeholders[season]) {
for (const f in data.badgeholders[s]) {
buf += `<a class="button" name="send" target="replace" href="/view-seasonladder-${f}-${s}">${Dex.formats.get(f).name}</a>`;
}
buf += `<br />`;
Expand Down

0 comments on commit 558245b

Please sign in to comment.