From 50a3a8726471520e54e7e6096df19ecf42061a91 Mon Sep 17 00:00:00 2001 From: daniel11420 <15311104+daniel11420@users.noreply.github.com> Date: Tue, 6 Apr 2021 05:17:38 +0000 Subject: [PATCH] Re-add newgrounds because that actually wasn't the problem and I am really quite dumb really for real --- source/Highscore.hx | 4 ++-- source/PlayState.hx | 2 +- source/TitleState.hx | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Highscore.hx b/source/Highscore.hx index 044ffb6..5fbc732 100644 --- a/source/Highscore.hx +++ b/source/Highscore.hx @@ -17,7 +17,7 @@ class Highscore #if !switch - //NGio.postScore(score, song); + NGio.postScore(score, song); #end @@ -34,7 +34,7 @@ class Highscore { #if !switch - //NGio.postScore(score, "Week " + week); + NGio.postScore(score, "Week " + week); #end diff --git a/source/PlayState.hx b/source/PlayState.hx index efc2c39..aa54b97 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2099,7 +2099,7 @@ class PlayState extends MusicBeatState if (SONG.validScore) { - //NGio.unlockMedal(60961); + NGio.unlockMedal(60961); Highscore.saveWeekScore(storyWeek, campaignScore, storyDifficulty); } diff --git a/source/TitleState.hx b/source/TitleState.hx index 9d3458c..e38e58e 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -80,8 +80,8 @@ class TitleState extends MusicBeatState // NGio.noLogin(APIStuff.API); #if ng - //var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey); - //trace('NEWGROUNDS LOL'); + var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey); + trace('NEWGROUNDS LOL'); #end FlxG.save.bind('funkin', 'ninjamuffin99'); @@ -284,11 +284,11 @@ class TitleState extends MusicBeatState if (pressedEnter && !transitioning && skippedIntro) { #if !switch - //NGio.unlockMedal(60960); + NGio.unlockMedal(60960); // If it's Friday according to da clock - //if (Date.now().getDay() == 5) - //NGio.unlockMedal(61034); + if (Date.now().getDay() == 5) + NGio.unlockMedal(61034); #end titleText.animation.play('press');