This commit is contained in:
Brandon 2020-11-06 21:24:03 -05:00
parent 49f81752bd
commit b96a427acc
3 changed files with 5 additions and 3 deletions

View File

@ -59,7 +59,7 @@
<!--In case you want to use the ui package-->
<haxelib name="flixel-ui" />
<haxelib name="newgrounds" />
<haxelib name="newgrounds" unless="switch" />
<!-- <haxelib name="markdown" /> -->
<!-- <haxelib name="HtmlParser" /> -->

View File

@ -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

View File

@ -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();