Merge pull request #3058 from Burgerballs/fix-sync

Use chart inst offset for song resync + other resync fixes
This commit is contained in:
Eric
2024-09-16 18:27:35 -04:00
committed by GitHub
+1
View File
@@ -1993,6 +1993,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 = Conductor.instance.songPosition - Conductor.instance.instrumentalOffset;
FlxG.sound.music.pause();
vocals.pause();