diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs index 65387f2..0ed7ea1 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs @@ -207,6 +207,12 @@ public class Entrypoint : IHostedService, IDisposable return; } + if (Plugin.Instance!.AnalyzerTaskIsRunning && AutomaticTaskState == TaskState.Running) + { + _logger.LogInformation("{0} Automatic Task will be superseded by library scan.", AutomaticTaskState); + CancelAutomaticTask(); + } + StartTimer(); }