diff --git a/project/SPT.SinglePlayer/Patches/ScavMode/ScavLateStartPatch.cs b/project/SPT.SinglePlayer/Patches/ScavMode/ScavLateStartPatch.cs index 77fbe83..738dc4b 100644 --- a/project/SPT.SinglePlayer/Patches/ScavMode/ScavLateStartPatch.cs +++ b/project/SPT.SinglePlayer/Patches/ScavMode/ScavLateStartPatch.cs @@ -36,11 +36,13 @@ namespace SPT.SinglePlayer.Patches.ScavMode private bool IsTargetMethod(MethodInfo arg) { - // method_43 as of 26535 + // method_47 as of 26535 var parameters = arg.GetParameters(); - return parameters.Length == 2 + return parameters.Length == 4 && parameters[0]?.Name == "timeAndWeather" && parameters[1]?.Name == "timeHasComeScreenController" + && parameters[2]?.Name == "metricsEvents" + && parameters[3]?.Name == "metricsConfig" && arg.ReturnType == typeof(Task); } diff --git a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs index 468dbd9..f1ff6b6 100644 --- a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs +++ b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs @@ -40,7 +40,7 @@ namespace SPT.SinglePlayer new TinnitusFixPatch().Enable(); new MaxBotPatch().Enable(); new SpawnPmcPatch().Enable(); - new PostRaidHealingPricePatch().Enable(); + // new PostRaidHealingPricePatch().Enable(); // TODO: Temp disabled, this might not be needed new EndByTimerPatch().Enable(); new InRaidQuestAvailablePatch().Enable(); new PostRaidHealScreenPatch().Enable();