0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

5 Commits

Author SHA1 Message Date
Lacyway
6d03395729 Fix scav exfils (!169)
`InitAllExfiltrationPoints` will instantiate the list of `ScavExfiltrationPoints` in one line before `EligiblePoints` is ran, meaning the following always returned:
```cs
            if (__instance.ScavExfiltrationPoints.Length > 0)
            {
                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
            }
```

I'm not sure if the logic was different before 3.10, but removing this ensures that the patch runs as intended. Tested both PMC and Scav raids, all is fine for me. Please test on your end as well.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#169
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-09-20 10:02:44 +00:00
Dev
18708da49b Removed ScavExfilPatch due to server changes 2024-09-18 13:31:26 +01:00
CWX
0986ebac2d Refactored patches to be public so people can disable if needed 2024-08-02 16:57:59 +01:00
CWX
ccad89df05 renamed and reenabled some required patches 2024-07-12 15:59:37 +01:00
CWX
866ff1095c Rebranding 2024-05-21 19:10:17 +01:00