aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-07-28 20:34:09 -0400
committerAjay <[email protected]>2023-07-28 20:34:09 -0400
commit31a9de252d2ec29ca08171cf3e9150bf7591603f (patch)
tree13795550db80b23534e09a9a640b4ee7ac4e688a
parent299cb485c3dd8d6146f17a95b3bbea737004bf22 (diff)
downloadSponsorBlock-31a9de252d2ec29ca08171cf3e9150bf7591603f.tar.gz
SponsorBlock-31a9de252d2ec29ca08171cf3e9150bf7591603f.zip
Fix skip loop issue
Fixes #1811
-rw-r--r--src/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index 555401e2..6dfea5fb 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -706,7 +706,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current
// Don't pretend to be earlier than we are, could result in loops
if (forcedSkipTime !== null && forceVideoTime > forcedSkipTime) {
- forcedSkipTime = null;
+ forcedSkipTime = forceVideoTime;
}
startSponsorSchedule(forcedIncludeIntersectingSegments, forcedSkipTime, forcedIncludeNonIntersectingSegments);