mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Adjust log output for global background changes to make more sense
This commit is contained in:
parent
1626d8d5a5
commit
a1b17c4468
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
if (nextBackground == background)
|
||||
return false;
|
||||
|
||||
Logger.Log("🌅 Background change queued");
|
||||
Logger.Log(@"🌅 Global background change queued");
|
||||
|
||||
cancellationTokenSource?.Cancel();
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
@ -94,6 +94,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
nextTask?.Cancel();
|
||||
nextTask = Scheduler.AddDelayed(() =>
|
||||
{
|
||||
Logger.Log(@"🌅 Global background loading");
|
||||
LoadComponentAsync(nextBackground, displayNext, cancellationTokenSource.Token);
|
||||
}, 500);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user