score shit

This commit is contained in:
Cameron Taylor
2020-11-06 13:51:11 -08:00
parent e76d11a5e6
commit 065b775e08
6 changed files with 12 additions and 10 deletions

View File

@ -149,8 +149,11 @@ class FreeplayState extends MusicBeatState
{
var poop:String = Highscore.formatSong(songs[curSelected].toLowerCase(), curDifficulty);
trace(poop);
PlayState.SONG = Song.loadFromJson(poop, songs[curSelected].toLowerCase());
PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty;
FlxG.switchState(new PlayState());
if (FlxG.sound.music != null)
FlxG.sound.music.stop();