Skip to content

Commit

Permalink
Enable fer imports for second rootage final datecode (#1210)
Browse files Browse the repository at this point in the history
* Add second rootage datecode

* Update parser.ts for rootage array
  • Loading branch information
phileas0408 authored Nov 23, 2024
1 parent 571b1b8 commit db19433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/lib/constants/ea3id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const REV_OMNIMIX = "X";
export const REV_NORMAL = "A";

export const EXT_CANNON_BALLERS = "2018091900";
export const EXT_ROOTAGE = "2019090200";
export const EXT_ROOTAGE = ["2019090200", "2019100700"];
export const EXT_HEROIC_VERSE = "2020092900";
export const EXT_BISTROVER = "2021091500";
export const EXT_CASTHOUR = "2022082400";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function SoftwareIDToVersion(
if (data.rev === REV_NORMAL) {
return "25";
}
} else if (data.ext === EXT_ROOTAGE) {
} else if (EXT_ROOTAGE.includes(data.ext)) {
if (data.rev === REV_OMNIMIX) {
return "26-omni";
} else if (data.rev === REV_NORMAL) {
Expand Down

0 comments on commit db19433

Please sign in to comment.