diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 76d559f1e..65e1ccddf 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -2724,7 +2724,7 @@ class PlayState extends MusicBeatSubState // Skip this if the music is paused (GameOver, Pause menu, start-of-song offset, etc.) if (!(FlxG.sound.music?.playing ?? false)) return; - var timeToPlayAt:Float = Math.min(FlxG.sound.music.length, + var timeToPlayAt:Float = Math.min(FlxG.sound.music.length - 1, Math.max(Math.min(Conductor.instance.combinedOffset, 0), Conductor.instance.songPosition) - Conductor.instance.combinedOffset); trace('Resyncing vocals to ${timeToPlayAt}');