1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Make IntroScreen set AllowTrackControl to false instead

This commit is contained in:
Zachary 2024-01-05 23:55:17 +10:00
parent 9b734bac25
commit 091241634c
2 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@ namespace osu.Game.Overlays
/// <summary>
/// Whether user control of the global track should be allowed.
/// </summary>
public readonly BindableBool AllowTrackControl = new BindableBool(false);
public readonly BindableBool AllowTrackControl = new BindableBool(true);
/// <summary>
/// Fired when the global <see cref="WorkingBeatmap"/> has changed.

View File

@ -109,6 +109,8 @@ namespace osu.Game.Screens.Menu
// prevent user from changing beatmap while the intro is still running.
beatmap = Beatmap.BeginLease(false);
musicController.AllowTrackControl.Value = false;
MenuVoice = config.GetBindable<bool>(OsuSetting.MenuVoice);
MenuMusic = config.GetBindable<bool>(OsuSetting.MenuMusic);