mirror of
https://github.com/ppy/osu
synced 2025-01-29 17:23:03 +00:00
Fix incorrect dependency creation
This commit is contained in:
parent
a21cf87b5f
commit
9cf2c9ddae
@ -27,7 +27,7 @@ namespace osu.Game.Tests.Visual.OnlinePlay
|
||||
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
|
||||
{
|
||||
var dependencies = new DependencyContainer(
|
||||
new CachedModelDependencyContainer<Room>(parent) { Model = { Value = Room } });
|
||||
new CachedModelDependencyContainer<Room>(base.CreateChildDependencies(parent)) { Model = { Value = Room } });
|
||||
|
||||
dependencies.Cache(new Bindable<Room>(Room));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user