1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-24 19:17:20 +08:00

Increase timed update frequency and add inline comment

This commit is contained in:
Dean Herbert 2024-12-11 18:08:34 +09:00
parent a3998fbd52
commit 0aa17a905b
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,8 @@ namespace osu.Game.Screens.OnlinePlay.Components
room.PropertyChanged += onRoomPropertyChanged;
Scheduler.AddDelayed(updateRoomStatus, 5000, true);
// Timed update required to track rooms which have hit the end time, see `HasEnded`.
Scheduler.AddDelayed(updateRoomStatus, 1000, true);
updateRoomStatus();
}

View File

@ -37,7 +37,8 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
room.PropertyChanged += onRoomPropertyChanged;
Scheduler.AddDelayed(updateDisplay, 5000, true);
// Timed update required to track rooms which have hit the end time, see `HasEnded`.
Scheduler.AddDelayed(updateDisplay, 1000, true);
updateDisplay();
FinishTransforms(true);
}