Remove unnecessary cache operations

This commit is contained in:
Dean Herbert 2018-07-13 21:45:42 +09:00
parent ac078153ae
commit 63c40e9051
1 changed files with 0 additions and 4 deletions

View File

@ -202,10 +202,6 @@ private void load(BeatmapManager beatmaps, AudioManager audio, DialogOverlay dia
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);