Adjust camera zoom tween duration based on playback rate

This commit is contained in:
EliteMasterEric
2026-03-09 02:51:06 -06:00
committed by Hundrec
parent ec7bdd32e2
commit 6ba9e00a9f
+2 -1
View File
@@ -3973,7 +3973,8 @@ class PlayState extends MusicBeatSubState
else
{
// Zoom tween! Caching it so we can cancel/pause it later if needed.
cameraZoomTween = FlxTween.tween(this, {currentCameraZoom: targetZoom}, duration, {ease: ease});
var adjustedDuration:Float = duration * playbackRate;
cameraZoomTween = FlxTween.tween(this, {currentCameraZoom: targetZoom}, adjustedDuration, {ease: ease});
}
}