From e5f29a91c9595e7ec7d48697eba03fc62103f2ee Mon Sep 17 00:00:00 2001 From: rlauuzo <46294892+rlauuzo@users.noreply.github.com> Date: Sun, 10 Nov 2024 21:28:43 +0100 Subject: [PATCH] Update VisualizationController.cs --- IntroSkipper/Controllers/VisualizationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntroSkipper/Controllers/VisualizationController.cs b/IntroSkipper/Controllers/VisualizationController.cs index ec9d057..7f0c237 100644 --- a/IntroSkipper/Controllers/VisualizationController.cs +++ b/IntroSkipper/Controllers/VisualizationController.cs @@ -182,7 +182,7 @@ public class VisualizationController(ILogger logger, Me db.DbSegment.Remove(new DbSegment(introSegment, AnalysisMode.Introduction)); } - if (segments.TryGetValue(AnalysisMode.Introduction, out var creditSegment)) + if (segments.TryGetValue(AnalysisMode.Credits, out var creditSegment)) { db.DbSegment.Remove(new DbSegment(creditSegment, AnalysisMode.Credits)); }