Skip to content

Commit

Permalink
Update CreditsState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Jan 6, 2025
1 parent c6d1e51 commit 2ef29e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/funkin/game/states/CreditsState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 2ef29e4

Please sign in to comment.