From 244cce56c0fa91b047999a768549448dee3f49f2 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 12 Mar 2025 23:28:52 -0400 Subject: [PATCH] Fix server-side add detector when setting time at the end of the video --- maze-utils | 2 +- src/content.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maze-utils b/maze-utils index d47ec4cc..b22477a8 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit d47ec4cca4480795fc524269d703c0d36aaeb402 +Subproject commit b22477a8640b407910b24d5bec13d0d6d4d3cf01 diff --git a/src/content.ts b/src/content.ts index d775715c..2b9588b1 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2008,7 +2008,7 @@ function startOrEndTimingNewSegment() { return; } - verifyCurrentTime(); + verifyCurrentTime(getRealCurrentTime()); const roundedTime = Math.round((getRealCurrentTime() + Number.EPSILON) * 1000) / 1000; if (!isSegmentCreationInProgress()) { sponsorTimesSubmitting.push({