Merge pull request #13338 from Craftplacer/fix-osutestscene-content

Add `DummyAPIAccess` to `OsuTestScene` one parent up
This commit is contained in:
Dean Herbert 2021-06-05 15:32:55 +09:00 committed by GitHub
commit cce0220060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ namespace osu.Game.Tests.Visual
{
dummyAPI = new DummyAPIAccess();
Dependencies.CacheAs<IAPIProvider>(dummyAPI);
Add(dummyAPI);
base.Content.Add(dummyAPI);
}
return Dependencies;