From 26db24d187eda2357a88869e1dc18d36855642b7 Mon Sep 17 00:00:00 2001 From: rlauuzo <46294892+rlauuzo@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:15:43 +0200 Subject: [PATCH] Update BaseItemAnalyzerTask.cs --- .../ScheduledTasks/BaseItemAnalyzerTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs index aece433..73e3bbc 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs @@ -121,7 +121,7 @@ public class BaseItemAnalyzerTask first.SeriesName, first.SeasonNumber); - Interlocked.Add(ref totalProcessed, (episodeCount * modeCount)); // Update totalProcessed directly + Interlocked.Add(ref totalProcessed, episodeCount * modeCount); // Update total Processed directly progress.Report((totalProcessed * 100) / totalQueued); return;