Back up save before overwrite
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user