@@ -2437,8 +2437,10 @@ class FreeplayState extends MusicBeatSubState
2437
2437
return ;
2438
2438
}
2439
2439
2440
- busy = true ;
2440
+ controls .active = false ;
2441
+ #if NO_FEATURE_TOUCH_CONTROLS
2441
2442
letterSort .inputEnabled = false ;
2443
+ #end
2442
2444
var instrumentalChoices : Array <String > = [' default' , ' random' ];
2443
2445
2444
2446
capsuleOptionsMenu = new CapsuleOptionsMenu (this , randomCapsule .targetPos .x + 175 , randomCapsule .targetPos .y + 115 , instrumentalChoices );
@@ -2457,8 +2459,10 @@ class FreeplayState extends MusicBeatSubState
2457
2459
function capsuleOnConfirmRandom (availableSongCapsules : Array <SongMenuItem >, instChoice : String ): Void
2458
2460
{
2459
2461
cleanupCapsuleOptionsMenu ();
2460
- busy = true ;
2462
+ controls .active = false ;
2463
+ #if NO_FEATURE_TOUCH_CONTROLS
2461
2464
letterSort .inputEnabled = false ;
2465
+ #end
2462
2466
2463
2467
var targetSongCap : SongMenuItem = FlxG .random .getObject (availableSongCapsules );
2464
2468
// Seeing if I can do an animation...
@@ -2470,8 +2474,10 @@ class FreeplayState extends MusicBeatSubState
2470
2474
if (targetSongNullable == null )
2471
2475
{
2472
2476
FlxG .log .warn (' WARN: could not find song with id ( ${targetSongId })' );
2473
- busy = false ;
2477
+ controls .active = true ;
2478
+ #if NO_FEATURE_TOUCH_CONTROLS
2474
2479
letterSort .inputEnabled = true ;
2480
+ #end
2475
2481
return ;
2476
2482
}
2477
2483
var targetSong : Song = targetSongNullable ;
@@ -2482,19 +2488,13 @@ class FreeplayState extends MusicBeatSubState
2482
2488
if (targetDifficulty == null )
2483
2489
{
2484
2490
FlxG .log .warn (' WARN: could not find difficulty with id ( ${targetDifficultyId })' );
2485
- busy = false ;
2491
+ controls .active = true ;
2492
+ #if NO_FEATURE_TOUCH_CONTROLS
2486
2493
letterSort .inputEnabled = true ;
2494
+ #end
2487
2495
return ;
2488
2496
}
2489
2497
2490
- // Seeing if I can do an animation...
2491
- curSelected = grpCapsules .members .indexOf (targetSongCap );
2492
- changeSelection (0 ); // Trigger an update.
2493
- controls .active = false ;
2494
- #if NO_FEATURE_TOUCH_CONTROLS
2495
- letterSort .inputEnabled = false ;
2496
- #end
2497
-
2498
2498
if (instChoice == ' random' )
2499
2499
{
2500
2500
var baseInstrumentalId : String = targetSong .getBaseInstrumentalId (targetDifficultyId , targetDifficulty ?. variation ?? Constants .DEFAULT_VARIATION ) ?? ' ' ;
0 commit comments