1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-30 10:44:37 +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,13 +2228,10 @@ class PlayState extends MusicBeatState
override function stepHit() override function stepHit()
{ {
super.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) if (dad.curCharacter == 'spooky' && curStep % 4 == 2)
{ {