Made show only overlay work

This commit is contained in:
Ajay Ramachandran 2020-04-05 00:08:44 -04:00
parent 93c0a0c003
commit e1e570fb18

View file

@ -474,6 +474,9 @@ function startSponsorSchedule(currentTime?: number): void {
let skipTime = currentSkip.segment;
let timeUntilSponsor = skipTime[0] - currentTime;
// Don't skip if this category should not be skipped
if (utils.getCategorySelection(currentSkip.category).option === CategorySkipOption.ShowOverlay) return;
let skippingFunction = () => {
let forcedSkipTime: number = null;