From 6061d5f4382e342e2cab064bc896b21d1c8dfae8 Mon Sep 17 00:00:00 2001 From: sector-a <82838084+sector-a@users.noreply.github.com> Date: Fri, 10 Oct 2025 22:44:00 +0300 Subject: [PATCH] Don't open the Random capsule's inst menu on mobile --- source/funkin/ui/freeplay/FreeplayState.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx index afeaad0d5..98be025da 100644 --- a/source/funkin/ui/freeplay/FreeplayState.hx +++ b/source/funkin/ui/freeplay/FreeplayState.hx @@ -2499,6 +2499,7 @@ class FreeplayState extends MusicBeatSubState #end var instrumentalChoices:Array = ['default', 'random']; + #if !mobile capsuleOptionsMenu = new CapsuleOptionsMenu(this, randomCapsule.targetPos.x + 175, randomCapsule.targetPos.y + 115, instrumentalChoices); capsuleOptionsMenu.cameras = [funnyCam]; capsuleOptionsMenu.zIndex = 10000; @@ -2507,6 +2508,9 @@ class FreeplayState extends MusicBeatSubState capsuleOptionsMenu.onConfirm = function(instChoice:String) { capsuleOnConfirmRandom(availableSongCapsules, instChoice); } + #else + capsuleOnConfirmRandom(availableSongCapsules, instrumentalChoices[0]); + #end } /**