1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix incorrect dependency creation

This commit is contained in:
smoogipoo 2021-06-24 21:02:21 +09:00
parent a21cf87b5f
commit 9cf2c9ddae

View File

@ -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));