mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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();
|
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)
|
if (!paused)
|
||||||
Scheduler.AddOnce(updatePauseOnFocusLostState);
|
Scheduler.AddOnce(updatePauseOnFocusLostState);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user