mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-27 17:33:03 +00:00
Resync by music instead of vocals
This commit is contained in:
parent
7abd7c5c2e
commit
646694bb79
|
@ -2237,13 +2237,10 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
override function stepHit()
|
override function 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' && totalSteps % 4 == 2)
|
if (dad.curCharacter == 'spooky' && totalSteps % 4 == 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue