mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-22 21:06:19 -04:00
fixed pausing desync issue
This commit is contained in:
parent
7144c81127
commit
024c760cc2
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ import lime.utils.Assets;
|
|||
|
||||
class FreeplayState extends MusicBeatState
|
||||
{
|
||||
var songs:Array<String> = ["Bopeebo", "Dadbattle", "Fresh", "Tutorial"];
|
||||
var songs:Array<String> = ["Pico", "Bopeebo", "Dadbattle", "Fresh", "Tutorial"];
|
||||
|
||||
var selector:FlxText;
|
||||
var curSelected:Int = 0;
|
||||
|
|
|
@ -578,9 +578,9 @@ class PlayState extends MusicBeatState
|
|||
{
|
||||
if (FlxG.sound.music != null)
|
||||
{
|
||||
vocals.time = Conductor.songPosition;
|
||||
|
||||
FlxG.sound.music.play();
|
||||
Conductor.songPosition = FlxG.sound.music.time;
|
||||
vocals.time = Conductor.songPosition;
|
||||
vocals.play();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue