mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Merge branch 'master' into global-mod-binding
This commit is contained in:
commit
2bae22999d
@ -1 +1 @@
|
||||
Subproject commit 9c4b79ed97eb89dc163cca837e197bfbf41400e3
|
||||
Subproject commit 2610a3133721b0bc4af852342aa2a179d0e66497
|
@ -116,7 +116,7 @@ namespace osu.Game
|
||||
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 @@ namespace osu.Game
|
||||
|
||||
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 @@ namespace osu.Game.Screens.Select
|
||||
[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
Block a user