Skip to content

Commit

Permalink
Update FixSavageInventoryScreenPatch_Override
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Nov 2, 2024
1 parent 1b29541 commit 0738654
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using HarmonyLib;
using SPT.Common.Http;
using SPT.Reflection.Patching;
using SPT.SinglePlayer.Patches.ScavMode;
using System.Linq;
using System.Reflection;

Expand Down Expand Up @@ -53,10 +54,8 @@ public static void PatchPrefix(ref ISession ___iSession)
session.ProfileOfPet.LearnAll();

// make a request to the server, so it knows of the items we might transfer
RequestHandler.PutJson("/raid/profile/scavsave", new
{
profile = session.ProfileOfPet
}.ToJson());
RequestHandler.PutJson("/raid/profile/scavsave",
GetProfileAtEndOfRaidPatch.ProfileDescriptor.ToUnparsedData([]).JObject.ToString());
}
}
}

0 comments on commit 0738654

Please sign in to comment.