Fixed ArgumentException in Octodiff Reporter

This commit is contained in:
erri120 2020-02-25 11:58:22 +01:00
parent 69297d9b8e
commit 60c925b59b
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -32,6 +32,8 @@ namespace Wabbajack.Common
{
public void ReportProgress(string operation, long currentPosition, long total)
{
if (currentPosition >= total)
return;
Utils.Status(operation, new Percent(total, currentPosition));
}
}