Skip to content

Commit

Permalink
Added nullguard to hideoutCustomizationSetMannequinPose
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Jan 17, 2025
1 parent aae4f50 commit f07ba3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/src/controllers/HideoutController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,7 @@ export class HideoutController {
): IItemEventRouterResponse {
pmcData.Hideout.MannequinPoses ||= {};
for (const [key, value] of Object.entries(request.poses)) {
pmcData.Hideout.MannequinPoses ||= {};
pmcData.Hideout.MannequinPoses[key] = value;
}

Expand Down

0 comments on commit f07ba3f

Please sign in to comment.