mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Allow track control after intro screen finishes.
This commit is contained in:
parent
35b9940c4e
commit
9b734bac25
@ -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(true);
|
||||
public readonly BindableBool AllowTrackControl = new BindableBool(false);
|
||||
|
||||
/// <summary>
|
||||
/// Fired when the global <see cref="WorkingBeatmap"/> has changed.
|
||||
|
@ -241,6 +241,8 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
var track = musicController.CurrentTrack;
|
||||
|
||||
musicController.AllowTrackControl.Value = true;
|
||||
|
||||
// presume the track is the current beatmap's track. not sure how correct this assumption is but it has worked until now.
|
||||
if (!track.IsRunning)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user