From 793d48bfee6b05e45d133d3c2af7f96b9c1172e7 Mon Sep 17 00:00:00 2001 From: Simon <63975668+Simyon264@users.noreply.github.com> Date: Sun, 30 Jun 2024 02:22:53 +0200 Subject: [PATCH] Fixed not resetting the current to 0 --- ReplayBrowser/Services/ProfilePregeneratorService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ReplayBrowser/Services/ProfilePregeneratorService.cs b/ReplayBrowser/Services/ProfilePregeneratorService.cs index d6a42fe..48b4143 100644 --- a/ReplayBrowser/Services/ProfilePregeneratorService.cs +++ b/ReplayBrowser/Services/ProfilePregeneratorService.cs @@ -117,6 +117,7 @@ private async void PregenerateProfiles() // Remove every profile already found in _generatedProfiles profilesToGenerate = profilesToGenerate.Except(_generatedProfiles).ToList(); PregenerationProgress.Max = profilesToGenerate.Count; + PregenerationProgress.Current = 0; foreach (var guid in profilesToGenerate) {