From 833b9fd20dc35196c99981b3fb47d68f9ef562ee Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 24 Dec 2022 13:05:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildnumber.txt | 2 +- source/funkin/system/Conductor.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildnumber.txt b/buildnumber.txt index 7ffcb4ea..22dbbf06 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1744 \ No newline at end of file +1745 \ No newline at end of file diff --git a/source/funkin/system/Conductor.hx b/source/funkin/system/Conductor.hx index 39b33040..b7270818 100644 --- a/source/funkin/system/Conductor.hx +++ b/source/funkin/system/Conductor.hx @@ -154,7 +154,7 @@ class Conductor // update conductor var timeUntilUpdate = -(lastSongPosTime - (lastSongPosTime = Lib.getTimer())); var elapsedAL = (lastSongPos - lastPos); - speed = FlxMath.bound(FlxMath.lerp(speed, timeUntilUpdate / elapsedAL, elapsedAL / 1000), 0.85, 1.15); + speed = FlxMath.bound(FlxMath.lerp(speed, timeUntilUpdate / elapsedAL, timeUntilUpdate / 1000), 0.85, 1.15); songPosition = lastSongPos; } else { songPosition += elapsed * 1000 * speed;