Add editor override to respect IsolateSavingFromDatabase

This commit is contained in:
Bartłomiej Dach
2022-01-23 19:58:21 +01:00
parent 47429fb0c6
commit a8ffc4fc2a
2 changed files with 7 additions and 1 deletions

View File

@ -136,6 +136,12 @@ namespace osu.Game.Tests.Visual
return new TestWorkingBeatmapCache(this, audioManager, resources, storage, defaultBeatmap, host);
}
public override WorkingBeatmap CreateNewBlankDifficulty(BeatmapSetInfo beatmapSetInfo, RulesetInfo rulesetInfo)
{
// don't actually care about properly creating a difficulty for this context.
return TestBeatmap;
}
private class TestWorkingBeatmapCache : WorkingBeatmapCache
{
private readonly TestBeatmapManager testBeatmapManager;