mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 05:30:43 -05:00
Removed ScavExfilPatch
due to server changes
This commit is contained in:
parent
9b57469707
commit
18708da49b
@ -22,11 +22,15 @@ namespace SPT.SinglePlayer.Patches.ScavMode
|
|||||||
return true; // Not a scav - don't do anything and run original method
|
return true; // Not a scav - don't do anything and run original method
|
||||||
}
|
}
|
||||||
|
|
||||||
// We are on a map with zero scav exfil points, enable all of them.
|
if (__instance.ScavExfiltrationPoints.Length > 0)
|
||||||
if (__instance.ScavExfiltrationPoints.Length == 0)
|
|
||||||
{
|
{
|
||||||
__result = __instance.ExfiltrationPoints;
|
Logger.LogError($"ScavExfiltrationPoints has content, Do original");
|
||||||
return false;
|
foreach (var scavExit in __instance.ScavExfiltrationPoints)
|
||||||
|
{
|
||||||
|
Logger.LogError($"{scavExit.name}, {scavExit.Id}, {scavExit.Description}");
|
||||||
|
}
|
||||||
|
|
||||||
|
return true; // do original
|
||||||
}
|
}
|
||||||
|
|
||||||
// Running this prepares all the data for getting scav exfil points
|
// Running this prepares all the data for getting scav exfil points
|
||||||
|
@ -31,7 +31,7 @@ namespace SPT.SinglePlayer
|
|||||||
// Still need
|
// Still need
|
||||||
new ScavExperienceGainPatch().Enable();
|
new ScavExperienceGainPatch().Enable();
|
||||||
new DisablePMCExtractsForScavsPatch().Enable();
|
new DisablePMCExtractsForScavsPatch().Enable();
|
||||||
new ScavExfilPatch().Enable();
|
//new ScavExfilPatch().Enable(); // Replaced with server side changes
|
||||||
new ScavProfileLoadPatch().Enable();
|
new ScavProfileLoadPatch().Enable();
|
||||||
new ScavPrefabLoadPatch().Enable();
|
new ScavPrefabLoadPatch().Enable();
|
||||||
new DisableReadyLocationReadyPatch().Enable();
|
new DisableReadyLocationReadyPatch().Enable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user