From 1d2262ac8d542c7e33bf9660d852fb39fd7797c8 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Wed, 27 Nov 2024 07:04:11 -0500 Subject: [PATCH] Use SkillsDescriptor to serialize skills, remove effects --- project/SPT.Custom/Patches/QTEPatch.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/SPT.Custom/Patches/QTEPatch.cs b/project/SPT.Custom/Patches/QTEPatch.cs index f0d6136..c44670a 100644 --- a/project/SPT.Custom/Patches/QTEPatch.cs +++ b/project/SPT.Custom/Patches/QTEPatch.cs @@ -18,8 +18,7 @@ namespace SPT.Custom.Patches { RequestHandler.PutJson("/client/hideout/workout", new { - skills = __instance.HideoutPlayer.Skills, - effects = __instance.HideoutPlayer.HealthController.BodyPartEffects + skills = new GClass1956(__instance.HideoutPlayer.Skills) } .ToJson()); }