From 3bf3c81815ec8b95b396ce8c6181bf715b61fb6a Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 17 Jan 2025 10:11:51 +0000 Subject: [PATCH] Added nullguard to `HideoutCustomizationSetMannequinPose` --- Core/Controllers/HideoutController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/Controllers/HideoutController.cs b/Core/Controllers/HideoutController.cs index 585d0f1a..22ccc23d 100644 --- a/Core/Controllers/HideoutController.cs +++ b/Core/Controllers/HideoutController.cs @@ -184,6 +184,7 @@ public class HideoutController { foreach (var poseKvP in request.Poses) { + pmcData.Hideout.MannequinPoses ??= new Dictionary(); pmcData.Hideout.MannequinPoses[poseKvP.Key] = poseKvP.Value; }