Cache mods at PlaySongSelect

This commit is contained in:
Dean Herbert
2018-08-08 12:26:57 +09:00
parent 4cb7063801
commit 4453b5faca
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ namespace osu.Game.Screens.Select
private SampleChannel sampleConfirm;
[Cached]
[Cached(Type = typeof(IBindable<IEnumerable<Mod>>))]
private readonly Bindable<IEnumerable<Mod>> selectedMods = new Bindable<IEnumerable<Mod>>(new Mod[] { });
[BackgroundDependencyLoader(true)]