mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-30 03:25:47 -05:00
resync by BOTH voices and inst
also remove unnecessary includes in chartingstate
This commit is contained in:
parent
627226dca9
commit
03ed9bc2be
2 changed files with 1 additions and 3 deletions
|
@ -28,8 +28,6 @@ import haxe.Json;
|
||||||
import lime.utils.Assets;
|
import lime.utils.Assets;
|
||||||
import openfl.events.Event;
|
import openfl.events.Event;
|
||||||
import openfl.events.IOErrorEvent;
|
import openfl.events.IOErrorEvent;
|
||||||
import openfl.events.IOErrorEvent;
|
|
||||||
import openfl.events.IOErrorEvent;
|
|
||||||
import openfl.media.Sound;
|
import openfl.media.Sound;
|
||||||
import openfl.net.FileReference;
|
import openfl.net.FileReference;
|
||||||
import openfl.utils.ByteArray;
|
import openfl.utils.ByteArray;
|
||||||
|
|
|
@ -2320,7 +2320,7 @@ class PlayState extends MusicBeatState
|
||||||
override function stepHit()
|
override function stepHit()
|
||||||
{
|
{
|
||||||
super.stepHit();
|
super.stepHit();
|
||||||
if (FlxG.sound.music.time > Conductor.songPosition + 20 || FlxG.sound.music.time < Conductor.songPosition - 20)
|
if (Math.abs(FlxG.sound.music.time - Conductor.songPosition) > 20 || (SONG.needsVoices && Math.abs(vocals.time - Conductor.songPosition) > 20))
|
||||||
{
|
{
|
||||||
resyncVocals();
|
resyncVocals();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue