From 16b834b553eda864da8309df0e314ac19bef6cb5 Mon Sep 17 00:00:00 2001 From: rlauu <46294892+rlauu@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:30:25 +0100 Subject: [PATCH] fix --- IntroSkipper/Providers/SegmentProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntroSkipper/Providers/SegmentProvider.cs b/IntroSkipper/Providers/SegmentProvider.cs index 811e31b..da7860c 100644 --- a/IntroSkipper/Providers/SegmentProvider.cs +++ b/IntroSkipper/Providers/SegmentProvider.cs @@ -47,7 +47,7 @@ namespace IntroSkipper.Providers } // Add outro/credits segment if found - if (itemSegments.TryGetValue(AnalysisMode.Introduction, out var creditSegment) && creditSegment.Valid) + if (itemSegments.TryGetValue(AnalysisMode.Credits, out var creditSegment) && creditSegment.Valid) { var creditEndTicks = (long)(creditSegment.End * TimeSpan.TicksPerSecond); var runTimeTicks = Plugin.Instance.GetItem(request.ItemId)?.RunTimeTicks ?? long.MaxValue;