mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Use 'i+1' during progress
This commit is contained in:
@@ -147,7 +147,7 @@ namespace BurnOutSharp
|
||||
|
||||
// Checkpoint
|
||||
protections.TryGetValue(file, out string fullProtection);
|
||||
FileProgress?.Report(new FileProtection(reportableFileName, i / (float)files.Count(), fullProtection ?? string.Empty));
|
||||
FileProgress?.Report(new FileProtection(reportableFileName, (i + 1) / (float)files.Count(), fullProtection ?? string.Empty));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user