1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-09 00:04:42 +00:00

Merge pull request #384 from ActualMandM/resyncvocals

Resync by music instead of vocals
This commit is contained in:
Cameron Taylor 2021-02-24 01:42:00 -05:00 committed by GitHub
commit b62fbe935f

View file

@ -2228,12 +2228,9 @@ class PlayState extends MusicBeatState
override function stepHit()
{
super.stepHit();
if (SONG.needsVoices)
if (FlxG.sound.music.time > Conductor.songPosition + 20 || FlxG.sound.music.time < Conductor.songPosition - 20)
{
if (vocals.time > Conductor.songPosition + 20 || vocals.time < Conductor.songPosition - 20)
{
resyncVocals();
}
resyncVocals();
}
if (dad.curCharacter == 'spooky' && curStep % 4 == 2)