From e0721b901ec7be33d55fa9293c745156da19503a Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 10 Apr 2024 21:31:49 -0400 Subject: [PATCH] Fix a bug where negative visual offsets would break the countdown. --- source/funkin/play/PlayState.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 787349952..8787f8175 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -890,7 +890,8 @@ class PlayState extends MusicBeatSubState { if (isInCountdown) { - Conductor.instance.update(Conductor.instance.songPosition + elapsed * 1000); + // Do NOT apply offsets at this point, because they already got applied the previous frame! + Conductor.instance.update(Conductor.instance.songPosition + elapsed * 1000, false); if (Conductor.instance.songPosition >= (startTimestamp)) startSong(); } }