mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix base.CreateLocalDependencies sometimes not being called
This commit is contained in:
@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual
|
||||
// The beatmap is constructed here rather than load() because our children get dependencies injected before our load() runs
|
||||
Beatmap = new GameBeatmap(new DummyWorkingBeatmap(), parent.Get<AudioManager>());
|
||||
|
||||
dependencies = new DependencyContainer(parent);
|
||||
dependencies = new DependencyContainer(base.CreateLocalDependencies(parent));
|
||||
|
||||
dependencies.CacheAs<IGameBeatmap>(Beatmap);
|
||||
dependencies.Cache(Beatmap);
|
||||
|
Reference in New Issue
Block a user