1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 15:12:57 +08:00

Fix incorrect access to ILive in BeatmapSkinResources tests

This commit is contained in:
Dean Herbert 2022-01-10 12:39:49 +09:00
parent e5af673b01
commit 7e7784b78a

View File

@ -26,8 +26,12 @@ namespace osu.Game.Tests.Skins
private void load() private void load()
{ {
var imported = beatmaps.Import(new ZipArchiveReader(TestResources.OpenResource("Archives/ogg-beatmap.osz"))).GetResultSafely(); var imported = beatmaps.Import(new ZipArchiveReader(TestResources.OpenResource("Archives/ogg-beatmap.osz"))).GetResultSafely();
beatmap = beatmaps.GetWorkingBeatmap(imported?.Value.Beatmaps[0]);
imported?.PerformRead(s =>
{
beatmap = beatmaps.GetWorkingBeatmap(s.Beatmaps[0]);
beatmap.LoadTrack(); beatmap.LoadTrack();
});
} }
[Test] [Test]