From 361b8a1581f46a76af936e7652b9620e0e556fd9 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 23de20a2..08b9a5a4 100644 --- a/Project.xml +++ b/Project.xml @@ -116,7 +116,7 @@ - + diff --git a/source/PlayState.hx b/source/PlayState.hx index 4ac54602..aa41737e 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)