Skip to content

Commit

Permalink
Song select refresh on library change
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed May 7, 2023
1 parent c0b7bf4 commit 916a4f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Assets/Script/Settings/SettingsMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using UnityEngine.UI;
using YARG.Metadata;
using YARG.Settings.Visuals;
using YARG.UI.MusicLibrary;
using YARG.Util;

namespace YARG.Settings {
Expand Down Expand Up @@ -72,6 +73,9 @@ private async UniTask OnDisable() {
// Do a song refresh if requested
LoadingManager.Instance.QueueSongRefresh(true);
await LoadingManager.Instance.StartLoad();

// Then refresh song select
SongSelection.refreshFlag = true;
}
}

Expand Down

0 comments on commit 916a4f0

Please sign in to comment.