aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Main.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 485fac7..d0bc5eb 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -413,7 +413,7 @@ class Main {
return;
}
if (player.isVideoLoaded()) forceSyncNextTick = false;
- if (player.getDuration() <= player.getTime()) return;
+ if (player.getDuration() <= player.getTime() + synchThreshold) return;
if (!data.getTime.paused) player.play();
else player.pause();
if (Math.abs(time - newTime) < synchThreshold) return;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage