1
0
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:
Dean Herbert 2018-07-13 21:45:42 +09:00
parent ac078153ae
commit 63c40e9051

View File

@ -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);