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()
{
super.stepHit();
if (SONG.needsVoices)
{
if (vocals.time > Conductor.songPosition + 20 || vocals.time < Conductor.songPosition - 20)
if (FlxG.sound.music.time > Conductor.songPosition + 20 || FlxG.sound.music.time < Conductor.songPosition - 20)
{
resyncVocals();
}
}
if (dad.curCharacter == 'spooky' && curStep % 4 == 2)
{