mirror of https://github.com/ppy/osu
Fix tournament beatmap backgrounds occasionally not loading
This commit is contained in:
parent
266c7b28e8
commit
06aa35a10e
|
@ -194,7 +194,7 @@ private partial class NoUnloadBeatmapSetCover : UpdateableOnlineBeatmapSetCover
|
||||||
|
|
||||||
// Use DelayedLoadWrapper to avoid content unloading when switching away to another screen.
|
// Use DelayedLoadWrapper to avoid content unloading when switching away to another screen.
|
||||||
protected override DelayedLoadWrapper CreateDelayedLoadWrapper(Func<Drawable> createContentFunc, double timeBeforeLoad)
|
protected override DelayedLoadWrapper CreateDelayedLoadWrapper(Func<Drawable> createContentFunc, double timeBeforeLoad)
|
||||||
=> new DelayedLoadWrapper(createContentFunc, timeBeforeLoad);
|
=> new DelayedLoadWrapper(createContentFunc(), timeBeforeLoad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue