Don't open the Random capsule's inst menu on mobile
This commit is contained in:
@@ -2499,6 +2499,7 @@ class FreeplayState extends MusicBeatSubState
|
||||
#end
|
||||
var instrumentalChoices:Array<String> = ['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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user