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
1 changed files with 3 additions and 0 deletions

View File

@ -183,6 +183,9 @@ private void updateState()
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)