mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 01:39:55 +08:00
Add inline comment explaining the retry loop
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user