aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-11 05:35:56 +0300
committerRblSb <msrblsb@gmail.com>2020-05-11 05:35:56 +0300
commit13660e01338b392b777db31817f7db1728c54140 (patch)
treebf01798ec7c996bfc84f364519c42c1ceb702571 /src
parentcd98a6fa51c8e18c13c62603d67a0880c53e729a (diff)
Fix playback rate on setTime
Diffstat (limited to 'src')
-rw-r--r--src/server/VideoTimer.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/VideoTimer.hx b/src/server/VideoTimer.hx
index 508b97b..53d4e28 100644
--- a/src/server/VideoTimer.hx
+++ b/src/server/VideoTimer.hx
@@ -46,6 +46,7 @@ class VideoTimer {
public function setTime(secs:Float):Void {
startTime = stamp() - secs;
+ rateStartTime = stamp();
if (isPaused()) pause();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage