mirror of https://github.com/ppy/osu
Remove redundant arguments
This commit is contained in:
parent
fc11cac5a0
commit
6e0cb1adb3
|
@ -111,7 +111,7 @@ private void load(FrameworkConfigManager frameworkConfig)
|
|||
Task.Run(() => BeatmapManager.Import(paths.ToArray()));
|
||||
}
|
||||
|
||||
dependencies.CacheAs<OsuGame>(this);
|
||||
dependencies.CacheAs(this);
|
||||
|
||||
configRuleset = LocalConfig.GetBindable<int>(OsuSetting.Ruleset);
|
||||
Ruleset.Value = RulesetStore.GetRuleset(configRuleset.Value) ?? RulesetStore.AvailableRulesets.First();
|
||||
|
|
|
@ -95,7 +95,7 @@ private void load()
|
|||
|
||||
dependencies.Cache(new LargeTextureStore(new RawTextureLoaderStore(new NamespacedResourceStore<byte[]>(Resources, @"Textures"))));
|
||||
|
||||
dependencies.CacheAs<OsuGameBase>(this);
|
||||
dependencies.CacheAs(this);
|
||||
dependencies.Cache(LocalConfig);
|
||||
|
||||
runMigrations();
|
||||
|
|
|
@ -181,7 +181,7 @@ protected SongSelect()
|
|||
[BackgroundDependencyLoader(permitNulls: true)]
|
||||
private void load(BeatmapManager beatmaps, AudioManager audio, DialogOverlay dialog, OsuGame osu, OsuColour colours)
|
||||
{
|
||||
dependencies.CacheAs<SongSelect>(this);
|
||||
dependencies.CacheAs(this);
|
||||
|
||||
if (Footer != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue