mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
Remove unnecessary cache operations
This commit is contained in:
parent
ac078153ae
commit
63c40e9051
@ -202,10 +202,6 @@ namespace osu.Game.Screens.Select
|
||||
base.Ruleset.ValueChanged += r => updateSelectedBeatmap(beatmapNoDebounce);
|
||||
Ruleset.ValueChanged += r => base.Ruleset.Value = r;
|
||||
|
||||
dependencies.CacheAs(this);
|
||||
dependencies.CacheAs(Ruleset);
|
||||
dependencies.CacheAs<IBindable<RulesetInfo>>(Ruleset);
|
||||
|
||||
if (Footer != null)
|
||||
{
|
||||
Footer.AddButton(@"random", colours.Green, triggerRandom, Key.F2);
|
||||
|
Loading…
Reference in New Issue
Block a user