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

4 Commits

Author SHA1 Message Date
DrakiaXYZ
84d2821d07 Save virtual registry on application quit
- Explicitly call PlayerPrefs.Save on application quit, since Unity doesn't seem to do it (any more?)
- Remove previously added Save calls from Set methods
2025-01-07 16:38:51 -08:00
Chomp
316dc33607 Fix registry patches not saving to disk - found by Kaeno 2025-01-07 14:47:20 +00:00
Chomp
c0d65208bc Added try/catch to SaveRegistryToSptFolderPatches to prevent code failing when malformed JSON is passed into it
Reduced indentation by inverting exists check
2024-12-13 10:17:30 +00:00
127e48a582 Redirect "PlayerPrefs" registry reads/writes to a JSON file (Memory-cached) to avoid cross contamination with live data (!172)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Modules#172
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-10-26 08:15:12 +00:00