mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 06:47:24 +08:00
Set default beatmap later in test initialisation
This commit is contained in:
parent
e6783b622d
commit
ab7bbf38a8
@ -72,8 +72,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
// required to get bindables attached
|
||||
Add(music);
|
||||
|
||||
Beatmap.SetDefault();
|
||||
|
||||
Dependencies.Cache(config = new OsuConfigManager(LocalStorage));
|
||||
}
|
||||
|
||||
@ -88,6 +86,8 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
{
|
||||
Ruleset.Value = new OsuRuleset().RulesetInfo;
|
||||
manager?.Delete(manager.GetAllUsableBeatmapSets());
|
||||
|
||||
Beatmap.SetDefault();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user