diff --git a/source/FreeplayState.hx b/source/FreeplayState.hx index 12d1e114c..d6040e87c 100644 --- a/source/FreeplayState.hx +++ b/source/FreeplayState.hx @@ -49,6 +49,18 @@ class FreeplayState extends MusicBeatState override function create() { + #if discord_rpc + // Updating Discord Rich Presence + DiscordClient.changePresence("In the Menus", null); + #end + + var isDebug:Bool = false; + + #if debug + isDebug = true; + addSong('Test', 1, 'bf-pixel'); + #end + var initSonglist = CoolUtil.coolTextFile(Paths.txt('freeplaySonglist')); for (i in 0...initSonglist.length) @@ -62,17 +74,6 @@ class FreeplayState extends MusicBeatState FlxG.sound.playMusic(Paths.music('freakyMenu')); } - #if discord_rpc - // Updating Discord Rich Presence - DiscordClient.changePresence("In the Menus", null); - #end - - var isDebug:Bool = false; - - #if debug - isDebug = true; - #end - if (StoryMenuState.weekUnlocked[2] || isDebug) addWeek(['Bopeebo', 'Fresh', 'Dadbattle'], 1, ['dad']);