1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 05:22:54 +08:00

set LoadDelay to 0

This commit is contained in:
cdwcgt 2023-07-25 07:45:48 +09:00
parent fd4d3a6d66
commit 6f66e2fdd7
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -183,6 +183,9 @@ namespace osu.Game.Tournament.Components
private partial class TournamentUpdateableOnlineBeatmapSetCover : UpdateableOnlineBeatmapSetCover
{
// no need to wait for Load because beatmap cover information does not change.
protected override double LoadDelay => 0;
// Use DelayedLoadWrapper to avoid beatmap cover unload in map pool.
// see https://github.com/ppy/osu/discussions/24337
protected override DelayedLoadWrapper CreateDelayedLoadWrapper(Func<Drawable> createContentFunc, double timeBeforeLoad)