Bug
GameBackupSystem/GameBackups.cs (~line 91):
private void BackupSaves(string baseBackupFolder, bool overwriteFiles)
{
if (SavesFolders == null || OptionsFiles.Count < 1) return; // wrong list
BackupSaves returns early when there are no options files, so a game
configured with save folders but no options file never gets its saves backed
up. It also throws a NullReferenceException if OptionsFiles is null (it
null-checks SavesFolders but then dereferences OptionsFiles).
Fix
Guard on the list the method actually uses:
if (SavesFolders == null || SavesFolders.Count < 1) return;
Severity
Data-protection: silent failure to back up saves — the tool's core job.
Bug
GameBackupSystem/GameBackups.cs(~line 91):BackupSavesreturns early when there are no options files, so a gameconfigured with save folders but no options file never gets its saves backed
up. It also throws a
NullReferenceExceptionifOptionsFilesis null (itnull-checks
SavesFoldersbut then dereferencesOptionsFiles).Fix
Guard on the list the method actually uses:
Severity
Data-protection: silent failure to back up saves — the tool's core job.