diff --git a/project/src/loaders/PreAkiModLoader.ts b/project/src/loaders/PreAkiModLoader.ts index 25cf6bca..d06f89e5 100644 --- a/project/src/loaders/PreAkiModLoader.ts +++ b/project/src/loaders/PreAkiModLoader.ts @@ -146,7 +146,7 @@ export class PreAkiModLoader implements IModLoader const modOrder = this.vfs.readFile(this.modOrderPath, { encoding: "utf8" }); try { - this.jsonUtil.deserialize(modOrder).order.forEach((mod: string, index: number) => + this.jsonUtil.deserialize(modOrder, this.modOrderPath).order.forEach((mod: string, index: number) => { this.order[mod] = index; });