mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Fix OsuTestCase beatmap not having a correct default beatmap
This commit is contained in:
parent
e7d7e00516
commit
1a3c06f2d9
@ -29,6 +29,9 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
Dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
||||
|
||||
// This is the earliest we can get OsuGameBase, which is used by the dummy working beatmap to find textures
|
||||
beatmap.Default = new DummyWorkingBeatmap(Dependencies.Get<OsuGameBase>());
|
||||
|
||||
Dependencies.CacheAs<BindableBeatmap>(beatmap);
|
||||
Dependencies.CacheAs<IBindableBeatmap>(beatmap);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user