haha , also highscore.hx breaks switch

This commit is contained in:
Brandon
2020-11-07 15:52:21 -05:00
parent 473429d3ce
commit 4787234621
6 changed files with 29 additions and 3 deletions

View File

@ -844,7 +844,9 @@ class PlayState extends MusicBeatState
function endSong():Void
{
#if !switch
Highscore.saveScore(SONG.song, songScore, storyDifficulty);
#end
if (isStoryMode)
{
@ -862,9 +864,8 @@ class PlayState extends MusicBeatState
#if !switch
NGio.unlockMedal(60961);
#end
Highscore.saveWeekScore(storyWeek, campaignScore, storyDifficulty);
#end
FlxG.save.data.weekUnlocked = StoryMenuState.weekUnlocked;
FlxG.save.flush();