mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:30:45 -05:00
Fix ScavLateStartPatch
This commit is contained in:
parent
34d18d947c
commit
bac205e640
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user