Back up save before overwrite

This commit is contained in:
2026-05-18 19:37:35 -07:00
parent 65599b9d2f
commit dfad8809c7
5 changed files with 89 additions and 1 deletions
+4 -1
View File
@@ -778,7 +778,10 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
`FAgrarianSavedTileRegistryState` with the active Ground Zero tile ID,
registry path, schema version, generation version, and package version while
keeping the authoritative registry in `Data/Tiles/ground_zero_tiles.json`.
- [ ] Add backup-before-save option.
- [x] Add backup-before-save option. `UAgrarianPersistenceSubsystem` now has
`bBackupBeforeSave` enabled by default; before overwriting an existing slot,
`WriteSave` copies the current `.sav` into `Saved/SaveGames/Backups` with a
UTC timestamp.
- [ ] Add recovery plan for corrupted save.
- [ ] Document persistence limitations.