diff --git a/project/SPT.SinglePlayer/Patches/ScavMode/FixSavageInventoryScreenPatch.cs b/project/SPT.SinglePlayer/Patches/ScavMode/FixSavageInventoryScreenPatch.cs index a0097b5..793f82e 100644 --- a/project/SPT.SinglePlayer/Patches/ScavMode/FixSavageInventoryScreenPatch.cs +++ b/project/SPT.SinglePlayer/Patches/ScavMode/FixSavageInventoryScreenPatch.cs @@ -3,7 +3,9 @@ using HarmonyLib; using SPT.Reflection.Patching; using System.Reflection; using System.Linq; +using Newtonsoft.Json; using SPT.Common.Http; +using System; namespace SPT.SinglePlayer.Patches.ScavMode @@ -22,7 +24,8 @@ namespace SPT.SinglePlayer.Patches.ScavMode [PatchPrefix] public static void PatchPrefix(LocalGame __instance) { - GetProfileAtEndOfRaidPatch.Profile = __instance.Profile_0.ToJson(); + //var test = new GClass1962(__instance.Profile_0, GClass1971.Instance); + //Profile = test.ToUnparsedData([]); } } /// diff --git a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs index 7b862d2..40d78f8 100644 --- a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs +++ b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs @@ -54,8 +54,8 @@ namespace SPT.SinglePlayer new EnableRefIntermScreenPatch().Enable(); new EnablePlayerScavPatch().Enable(); new ScavFoundInRaidPatch().Enable(); - new GetProfileAtEndOfRaidPatch().Enable(); - new FixSavageInventoryScreenPatch().Enable(); + // new GetProfileAtEndOfRaidPatch().Enable(); //TODO BROKEN IN 15.5 - FIX OR REMOVE + //new FixSavageInventoryScreenPatch().Enable(); //TODO BROKEN IN 15.5 - FIX OR REMOVE //new InsuranceScreenPatch().Enable(); new RemoveStashUpgradeLabelPatch().Enable(); new RemoveClothingItemExternalObtainLabelPatch().Enable();