diff --git a/source/PlayState.hx b/source/PlayState.hx index 8c7e71b..3acdc32 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -69,7 +69,7 @@ import lime.utils.Assets; import openfl.display.BlendMode; import openfl.display.StageQuality; import openfl.filters.ShaderFilter; -#if cpp +#if windows import Discord.DiscordClient; #end #if cpp @@ -2109,7 +2109,7 @@ class PlayState extends MusicBeatState vocals.pause(); } - #if cpp + #if windows DiscordClient.changePresence("PAUSED on " + SONG.song + " (" @@ -2143,7 +2143,7 @@ class PlayState extends MusicBeatState startTimer.active = true; paused = false; - #if cpp + #if windows if (startTimer.finished) { DiscordClient.changePresence(detailsText @@ -2181,7 +2181,7 @@ class PlayState extends MusicBeatState vocals.time = Conductor.songPosition; vocals.play(); - #if cpp + #if windows DiscordClient.changePresence(detailsText + " " + SONG.song @@ -2429,7 +2429,7 @@ class PlayState extends MusicBeatState removedVideo = true; } cannotDie = true; - #if cpp + #if windows DiscordClient.changePresence("Chart Editor", null, null, true); #end @@ -2853,7 +2853,7 @@ class PlayState extends MusicBeatState openSubState(new GameOverSubstate(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y)); - #if cpp + #if windows // Game Over doesn't get his own variable because it's only used here DiscordClient.changePresence("GAME OVER -- " + SONG.song @@ -2889,7 +2889,7 @@ class PlayState extends MusicBeatState openSubState(new GameOverSubstate(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y)); - #if cpp + #if windows // Game Over doesn't get his own variable because it's only used here DiscordClient.changePresence("GAME OVER -- " + SONG.song