1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 19:45:43 +08:00

Merge remote-tracking branch 'origin/fix-texture-loader-stores' into samah-ios

# Conflicts:
#	osu.Game/Beatmaps/BeatmapManager.cs
This commit is contained in:
Dean Herbert 2019-01-25 18:59:22 +09:00
commit 9e8347413b

View File

@ -257,7 +257,7 @@ namespace osu.Game.Beatmaps
if (beatmapInfo.Metadata == null)
beatmapInfo.Metadata = beatmapInfo.BeatmapSet.Metadata;
WorkingBeatmap working = new BeatmapManagerWorkingBeatmap(Files.Store, new LargeTextureStore(host.CreateTextureLoaderStore(Files.Store)), beatmapInfo, audioManager);
WorkingBeatmap working = new BeatmapManagerWorkingBeatmap(Files.Store, new LargeTextureStore(host?.CreateTextureLoaderStore(Files.Store)), beatmapInfo, audioManager);
previous?.TransferTo(working);