mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Make IntroScreen set AllowTrackControl
to false instead
This commit is contained in:
parent
9b734bac25
commit
091241634c
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user