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)); }