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:
parent
a3998fbd52
commit
0aa17a905b
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user