Fix left over from merge conflict causing some skips to be ignored

This commit is contained in:
Ajay
2022-09-15 23:28:04 -04:00
parent b43e3dab71
commit b9ef35dbbe

View File

@@ -620,9 +620,6 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?:
logDebug(`Next step in starting skipping: ${!shouldSkip(currentSkip)}, ${!sponsorTimesSubmitting?.some((segment) => segment.segment === currentSkip.segment)}`);
// Don't skip if this category should not be skipped
if (!shouldSkip(currentSkip) && !sponsorTimesSubmitting?.some((segment) => segment.segment === currentSkip.segment)) return;
const skippingFunction = (forceVideoTime?: number) => {
let forcedSkipTime: number = null;
let forcedIncludeIntersectingSegments = false;