Skip to content

Commit

Permalink
fixed pausing desync issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Dec 9, 2020
1 parent 70ec82a commit 53553bc
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file added assets/music/Blammed_Inst.ogg
Binary file not shown.
Binary file added assets/music/Blammed_Voices.ogg
Binary file not shown.
Binary file added assets/music/Pico_Inst.ogg
Binary file not shown.
Binary file added assets/music/Pico_Voices.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion source/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 53553bc

Please # to comment.