diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index efa1e74af..1d0381484 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -3931,9 +3931,11 @@ class PlayState extends MusicBeatSubState @:nullSafety(Off) FlxG.camera.target = null; + var adjustedDuration:Float = duration * playbackRate; + // Follow tween! Caching it so we can cancel/pause it later if needed. var followPos:FlxPoint = cameraFollowPoint.getPosition() - FlxPoint.weak(FlxG.camera.width * 0.5, FlxG.camera.height * 0.5); - cameraFollowTween = FlxTween.tween(FlxG.camera.scroll, {x: followPos.x, y: followPos.y}, duration, { + cameraFollowTween = FlxTween.tween(FlxG.camera.scroll, {x: followPos.x, y: followPos.y}, adjustedDuration, { ease: ease, onComplete: function(_) {