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 9ac509c72b
1 changed files with 2 additions and 5 deletions

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)