mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-16 11:53:45 +00:00
fixed pausing desync issue
This commit is contained in:
parent
70ec82a022
commit
53553bc1ca
BIN
assets/music/Blammed_Inst.ogg
Normal file
BIN
assets/music/Blammed_Inst.ogg
Normal file
Binary file not shown.
BIN
assets/music/Blammed_Voices.ogg
Normal file
BIN
assets/music/Blammed_Voices.ogg
Normal file
Binary file not shown.
BIN
assets/music/Pico_Inst.ogg
Normal file
BIN
assets/music/Pico_Inst.ogg
Normal file
Binary file not shown.
BIN
assets/music/Pico_Voices.ogg
Normal file
BIN
assets/music/Pico_Voices.ogg
Normal file
Binary file not shown.
|
@ -12,7 +12,7 @@ import lime.utils.Assets;
|
||||||
|
|
||||||
class FreeplayState extends MusicBeatState
|
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 selector:FlxText;
|
||||||
var curSelected:Int = 0;
|
var curSelected:Int = 0;
|
||||||
|
|
|
@ -578,9 +578,9 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
if (FlxG.sound.music != null)
|
if (FlxG.sound.music != null)
|
||||||
{
|
{
|
||||||
vocals.time = Conductor.songPosition;
|
|
||||||
|
|
||||||
FlxG.sound.music.play();
|
FlxG.sound.music.play();
|
||||||
|
Conductor.songPosition = FlxG.sound.music.time;
|
||||||
|
vocals.time = Conductor.songPosition;
|
||||||
vocals.play();
|
vocals.play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue