mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix incorrect dependency creation
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user