diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index e5e63a089..adf3f5875 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -4000,7 +4000,7 @@ class PlayState extends MusicBeatSubState /** * The magical function that shall tween the scroll speed. */ - public function tweenScrollSpeed(?speed:Float, ?duration:Float, ?ease:NullFloat>, strumlines:Array):Void + public function tweenScrollSpeed(?speed:Float, duration:Float = 0, ?ease:NullFloat>, strumlines:Array):Void { // Cancel the current tween if it's active. cancelScrollSpeedTweens();