diff --git a/project/src/controllers/HideoutController.ts b/project/src/controllers/HideoutController.ts index a7a227a0..a7cb90cd 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -1268,6 +1268,8 @@ export class HideoutController { improveCompleteTimestamp: timestamp + improvement.improvementTime, }; output.profileChanges[sessionId].improvements[improvement.id] = improvementDetails; + + pmcData.Hideout.Improvements ||= {}; pmcData.Hideout.Improvements[improvement.id] = improvementDetails; }