aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index 50ca77e3..4b480ddd 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -461,7 +461,7 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?:
}
// Don't skip if this category should not be skipped
- if (!shouldSkip(currentSkip) && skipInfo.array !== sponsorTimesSubmitting) return;
+ if (!shouldSkip(currentSkip) && !sponsorTimesSubmitting?.some((segment) => segment.segment === currentSkip.segment)) return;
const skippingFunction = () => {
let forcedSkipTime: number = null;