diff --git a/data/key-processor.ts b/data/key-processor.ts index 31e26cb..9cda19f 100644 --- a/data/key-processor.ts +++ b/data/key-processor.ts @@ -9,7 +9,7 @@ import type { GameRecipeDictionarySerialized, GameItemSerialized, GameDataSerialized, - LogisticSerialized, + GameLogisticSerialized, } from '#types/game-data-serialized'; interface KeysJson { @@ -96,7 +96,7 @@ export class KeyProcessor { }) || []; } private mergeLogistic() { - const mappedArray: [string, LogisticSerialized][] = (this.gameData.logistic || []).map((r) => [r.name, r]); + const mappedArray: [string, GameLogisticSerialized][] = (this.gameData.logistic || []).map((r) => [r.name, r]); const mappedObject = this.mapKeys(mappedArray); this.gameData.logistic = mappedObject?.map(([key, value]) => { if(this.isAttachKeys) { diff --git a/package.json b/package.json index 99f8aa9..eaedad5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "daxfb-calculator", - "version": "1.0.7", + "version": "1.0.8", "description": "Calculator/Factory Planner for factory management games", "main": "index.js", "scripts": {