1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +00:00

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
commit d214ae1747
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();