mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Fix some failing tests due to realm beatmaps overwriting test beatmaps
This commit is contained in:
parent
9435464eb3
commit
6c46fd6931
@ -182,9 +182,10 @@ namespace osu.Game.Screens.Select
|
||||
RightClickScrollingEnabled.ValueChanged += enabled => Scroll.RightMouseScrollbar = enabled.NewValue;
|
||||
RightClickScrollingEnabled.TriggerChange();
|
||||
|
||||
using (var realm = realmFactory.CreateContext())
|
||||
if (!loadedTestBeatmaps)
|
||||
{
|
||||
loadBeatmapSets(getBeatmapSets(realm));
|
||||
using (var realm = realmFactory.CreateContext())
|
||||
loadBeatmapSets(getBeatmapSets(realm));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user