mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Add inline comment explaining the retry loop
This commit is contained in:
parent
5493c55da7
commit
6a5c6febc5
@ -434,6 +434,8 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
bool paused = Pause();
|
||||
|
||||
// if the initial pause could not be satisfied, the pause cooldown may be active.
|
||||
// reschedule the pause attempt until it can be achieved.
|
||||
if (!paused)
|
||||
Scheduler.AddOnce(updatePauseOnFocusLostState);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user