From 34d18d947c8b0f7d2b6d19d9b4fed1f8e0f8e3d0 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 4 Jul 2024 22:18:06 +0100 Subject: [PATCH] fix PostRaidHealScreenPatch --- .../Patches/Healing/PostRaidHealScreenPatch.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/SPT.SinglePlayer/Patches/Healing/PostRaidHealScreenPatch.cs b/project/SPT.SinglePlayer/Patches/Healing/PostRaidHealScreenPatch.cs index cc5db60..1e25e30 100644 --- a/project/SPT.SinglePlayer/Patches/Healing/PostRaidHealScreenPatch.cs +++ b/project/SPT.SinglePlayer/Patches/Healing/PostRaidHealScreenPatch.cs @@ -16,7 +16,7 @@ namespace SPT.SinglePlayer.Patches.Healing protected override MethodBase GetTargetMethod() { // Class1049.smethod_0 as of 18969 - //internal static Class1049 smethod_0(GInterface29 backend, string profileId, Profile savageProfile, LocationSettingsClass.GClass1097 location, ExitStatus exitStatus, TimeSpan exitTime, ERaidMode raidMode) + // internal static Class1049 smethod_0(GInterface29 backend, string profileId, Profile savageProfile, LocationSettingsClass.GClass1097 location, ExitStatus exitStatus, TimeSpan exitTime, RaidSettings raidSettings) var desiredMethod = typeof(PostRaidHealthScreenClass).GetMethods(BindingFlags.Static | BindingFlags.Public).SingleCustom(IsTargetMethod); Logger.LogDebug($"{this.GetType().Name} Method: {desiredMethod?.Name}"); @@ -34,7 +34,7 @@ namespace SPT.SinglePlayer.Patches.Healing && parameters[3].Name == "location" && parameters[4].Name == "exitStatus" && parameters[5].Name == "exitTime" - && parameters[6].Name == "raidMode"; + && parameters[6].Name == "raidSettings"; } [PatchPrefix]