From 2ef29e467b063c79771f0d9aecef241ce843e8a6 Mon Sep 17 00:00:00 2001 From: HackDev <80620538+Hackx2@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:39:12 +0000 Subject: [PATCH] Update CreditsState.hx --- source/funkin/game/states/CreditsState.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/funkin/game/states/CreditsState.hx b/source/funkin/game/states/CreditsState.hx index 0593774..7f5ff6f 100644 --- a/source/funkin/game/states/CreditsState.hx +++ b/source/funkin/game/states/CreditsState.hx @@ -42,11 +42,14 @@ class CreditsState extends MusicBeatState override function create() { - #if (desktop && DISCORD_ALLOWED) + #if desktop // Updating Discord Rich Presence + #if DISCORD_ALLOWED DiscordClient.changePresence("Credits Menu", null); #end WindowUtil.setTitle('Credits Menu'); + FlxG.mouse.visible = false; + #end persistentUpdate = true; bg = new FlxSprite().loadGraphic(Paths.image('menuDesat'));