1
0
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:
Zachary 2024-01-05 01:14:34 +10:00
parent 35b9940c4e
commit 9b734bac25
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(true);
public readonly BindableBool AllowTrackControl = new BindableBool(false);
/// <summary>
/// Fired when the global <see cref="WorkingBeatmap"/> has changed.

View File

@ -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)
{