Skip to content

Commit c3b3f0a

Browse files
committed
Try uppercasing civ 6 mod ids
1 parent 9b87090 commit c3b3f0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/saveHandlers/civ6SaveHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export class Civ6SaveHandler implements SaveHandler {
120120

121121
if (this.wrapper.parsed.MOD_BLOCK_1) {
122122
for (const mod of this.wrapper.parsed.MOD_BLOCK_1.data) {
123-
if (CIV6_DLCS.some(x => x.id === mod.MOD_ID.data)) {
124-
result.push(mod.MOD_ID.data);
123+
if (CIV6_DLCS.some(x => x.id === mod.MOD_ID.data?.toUpperCase())) {
124+
result.push(mod.MOD_ID.data?.toUpperCase());
125125
}
126126
}
127127
}

0 commit comments

Comments
 (0)