0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 15:10:44 -05:00

Use SkillsDescriptor to serialize skills, remove effects

This commit is contained in:
Cj 2024-11-27 07:04:11 -05:00
parent ed418d2884
commit 1d2262ac8d

View File

@ -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());
}