1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-10-05 17:00:39 +00:00
This commit is contained in:
Brandon 2020-11-06 21:24:03 -05:00
parent e4f72e1979
commit 179492e9a1
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();