Skip to content

Commit

Permalink
Added 'Edison' format.
Browse files Browse the repository at this point in the history
  • Loading branch information
RillingDev committed Oct 10, 2022
1 parent 0322456 commit eaacae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/card/format/Format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export enum Format {
RUSH_DUEL = "Rush Duel",
DUEL_LINKS = "Duel Links",
COMMON_CHARITY = "Common Charity",
EDISON = "Edison",
}
1 change: 1 addition & 0 deletions src/ygoprodeck/api/mapping/mapCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const formatMap = new Map<string, Format>([
["Rush Duel", Format.RUSH_DUEL],
["Duel Links", Format.DUEL_LINKS],
["Common Charity", Format.COMMON_CHARITY],
["Edison", Format.EDISON],
]);
const mapFormats = (rawMiscInfo: RawMiscInfo | null): Format[] => {
if (rawMiscInfo == null || rawMiscInfo.formats == null) {
Expand Down

0 comments on commit eaacae1

Please sign in to comment.