Browse Source
Narrow the backup save helper to full game saves only. Replace pfile_write_hero_with_backup(bool writeGameData) with pfile_write_game_with_backup(), and always write full game data before validating the resulting archive with ArchiveContainsGame(). This makes the helper's name, behavior, and post-write validation consistent, and removes an API parameter that made the function look more general than its actual responsibility. Also update SaveGame() to use the new helper name and a clearer local variable.pull/8497/head
3 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue