Skip to content

Commit

Permalink
Added "common charity" format.
Browse files Browse the repository at this point in the history
  • Loading branch information
RillingDev committed Oct 5, 2022
1 parent 9ab26ef commit 9f7d4ed
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 @@ -7,4 +7,5 @@ export enum Format {
SPEED_DUEL = "Speed Duel",
RUSH_DUEL = "Rush Duel",
DUEL_LINKS = "Duel Links",
COMMON_CHARITY = "Common Charity",
}
1 change: 1 addition & 0 deletions src/ygoprodeck/api/mapping/mapCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ const formatMap = new Map<string, Format>([
["Speed Duel", Format.SPEED_DUEL],
["Rush Duel", Format.RUSH_DUEL],
["Duel Links", Format.DUEL_LINKS],
["Common Charity", Format.COMMON_CHARITY],
]);
const mapFormats = (rawMiscInfo: RawMiscInfo | null): Format[] => {
if (rawMiscInfo == null || rawMiscInfo.formats == null) {
Expand Down

0 comments on commit 9f7d4ed

Please sign in to comment.