1
0
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:
Dean Herbert
2021-02-23 13:23:32 +09:00
Unverified
parent 5493c55da7
commit 6a5c6febc5
+2
View File
@@ -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);
}