mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
parent
186fa7af61
commit
ca24e82a6d
1 changed files with 5 additions and 0 deletions
|
@ -661,6 +661,11 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current
|
|||
forcedSkipTime = forceVideoTime + 0.001;
|
||||
}
|
||||
|
||||
// Don't pretend to be earlier than we are, could result in loops
|
||||
if (forcedSkipTime !== null && forceVideoTime > forcedSkipTime) {
|
||||
forcedSkipTime = null;
|
||||
}
|
||||
|
||||
startSponsorSchedule(forcedIncludeIntersectingSegments, forcedSkipTime, forcedIncludeNonIntersectingSegments);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue