mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Allow song select to refresh the global WorkingBeatmap
after an external update
This commit is contained in:
@ -76,10 +76,13 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
Logger.Log($"Invalidating working beatmap cache for {info}");
|
||||
workingCache.Remove(working);
|
||||
OnInvalidated?.Invoke(working);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event Action<WorkingBeatmap> OnInvalidated;
|
||||
|
||||
public virtual WorkingBeatmap GetWorkingBeatmap(BeatmapInfo beatmapInfo)
|
||||
{
|
||||
if (beatmapInfo?.BeatmapSet == null)
|
||||
|
Reference in New Issue
Block a user