From 3dd24abf078421b09d2984d4fe5b29e70924cc07 Mon Sep 17 00:00:00 2001 From: WorstAquaPlayer Date: Sun, 28 Feb 2021 18:50:06 -0300 Subject: [PATCH] Added missing #if to RPC call --- Project.xml | 2 +- source/PlayState.hx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Project.xml b/Project.xml index 23de20a24..08b9a5a47 100644 --- a/Project.xml +++ b/Project.xml @@ -116,7 +116,7 @@ - + diff --git a/source/PlayState.hx b/source/PlayState.hx index 4ac546024..aa41737ea 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1586,8 +1586,10 @@ class PlayState extends MusicBeatState // FlxG.switchState(new GameOverState(boyfriend.getScreenPosition().x, boyfriend.getScreenPosition().y)); + #if desktop // Game Over doesn't get his own variable because it's only used here DiscordClient.changePresence("Game Over - " + detailsText, SONG.song + " (" + storyDifficultyText + ")", iconRPC); + #end } if (unspawnNotes[0] != null)