From 0bdd66039c85d52945d7e8dac80e719388474a3b Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 6 Nov 2020 21:24:03 -0500 Subject: [PATCH] uhhh --- Project.xml | 2 +- source/FreeplayState.hx | 2 +- source/PlayState.hx | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Project.xml b/Project.xml index 38c988e31..22b04d7d8 100644 --- a/Project.xml +++ b/Project.xml @@ -59,7 +59,7 @@ - + diff --git a/source/FreeplayState.hx b/source/FreeplayState.hx index ad336ce8a..1457fbf18 100644 --- a/source/FreeplayState.hx +++ b/source/FreeplayState.hx @@ -8,7 +8,7 @@ import flixel.group.FlxGroup.FlxTypedGroup; import flixel.math.FlxMath; import flixel.text.FlxText; import flixel.util.FlxColor; -import htmlparser.HtmlDocument; +//import htmlparser.HtmlDocument; import lime.utils.Assets; class FreeplayState extends MusicBeatState diff --git a/source/PlayState.hx b/source/PlayState.hx index 87a435f22..a0540eb9f 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -841,7 +841,9 @@ class PlayState extends MusicBeatState function endSong():Void { + #if !switch Highscore.saveScore(SONG.song, songScore, storyDifficulty); + #end if (isStoryMode) { @@ -859,8 +861,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();