mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:50:45 -05:00
Use SkillsDescriptor to serialize skills, remove effects (#7)
Fixes exception at the end of the gym workout, removes effects
This commit is contained in:
commit
ab809c4bc5
@ -18,8 +18,7 @@ namespace SPT.Custom.Patches
|
|||||||
{
|
{
|
||||||
RequestHandler.PutJson("/client/hideout/workout", new
|
RequestHandler.PutJson("/client/hideout/workout", new
|
||||||
{
|
{
|
||||||
skills = __instance.HideoutPlayer.Skills,
|
skills = new GClass1956(__instance.HideoutPlayer.Skills)
|
||||||
effects = __instance.HideoutPlayer.HealthController.BodyPartEffects
|
|
||||||
}
|
}
|
||||||
.ToJson());
|
.ToJson());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user