Handle changes to the automatic download setting immediately

This commit is contained in:
Dean Herbert 2024-09-02 19:20:05 +09:00
parent 872d14ed88
commit 7b13943377
No known key found for this signature in database

View File

@ -54,7 +54,9 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
{
operationInProgress = ongoingOperationTracker.InProgress.GetBoundCopy();
operationInProgress.BindValueChanged(_ => updateState());
automaticallyDownload = config.GetBindable<bool>(OsuSetting.AutomaticallyDownloadMissingBeatmaps);
automaticallyDownload.BindValueChanged(_ => Scheduler.AddOnce(checkForAutomaticDownload));
}
protected override void LoadComplete()