mirror of https://github.com/ppy/osu
Fix incorrect access to `ILive` in `BeatmapSkinResources` tests
This commit is contained in:
parent
e5af673b01
commit
7e7784b78a
|
@ -26,8 +26,12 @@ public class TestSceneBeatmapSkinResources : OsuTestScene
|
|||
private void load()
|
||||
{
|
||||
var imported = beatmaps.Import(new ZipArchiveReader(TestResources.OpenResource("Archives/ogg-beatmap.osz"))).GetResultSafely();
|
||||
beatmap = beatmaps.GetWorkingBeatmap(imported?.Value.Beatmaps[0]);
|
||||
beatmap.LoadTrack();
|
||||
|
||||
imported?.PerformRead(s =>
|
||||
{
|
||||
beatmap = beatmaps.GetWorkingBeatmap(s.Beatmaps[0]);
|
||||
beatmap.LoadTrack();
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Reference in New Issue