mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:50:45 -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
|
||||
}
|
||||
|
||||
// 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;
|
||||
return false;
|
||||
Logger.LogError($"ScavExfiltrationPoints has content, Do original");
|
||||
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
|
||||
|
@ -31,7 +31,7 @@ namespace SPT.SinglePlayer
|
||||
// Still need
|
||||
new ScavExperienceGainPatch().Enable();
|
||||
new DisablePMCExtractsForScavsPatch().Enable();
|
||||
new ScavExfilPatch().Enable();
|
||||
//new ScavExfilPatch().Enable(); // Replaced with server side changes
|
||||
new ScavProfileLoadPatch().Enable();
|
||||
new ScavPrefabLoadPatch().Enable();
|
||||
new DisableReadyLocationReadyPatch().Enable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user