Fixed scheduling being wrong when manual skip is enabled

This commit is contained in:
Ajay Ramachandran
2020-03-09 18:12:05 -04:00
parent d2bb4b38e3
commit ff9b2338e0

View File

@@ -463,7 +463,7 @@ function startSponsorSchedule(currentTime?: number): void {
skipToTime(video, skipInfo.index, skipInfo.array, skipInfo.openNotice); skipToTime(video, skipInfo.index, skipInfo.array, skipInfo.openNotice);
} }
startSponsorSchedule(skipTime[1]); startSponsorSchedule(skipTime[0] + 0.001);
}; };
if (timeUntilSponsor <= 0) { if (timeUntilSponsor <= 0) {