1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 18:52:57 +08:00

Reword comment to better explain what we are guarding against

This commit is contained in:
Dean Herbert 2022-07-12 16:46:19 +09:00
parent cafe30fc4d
commit cad18ebc58

View File

@ -77,8 +77,9 @@ namespace osu.Game.Screens.Menu
AddInternal(intro);
// There is a chance that the intro timed out before being displayed, and this scheduled callback could
// happen during the outro rather than intro. In such a scenario the game may already be in a disposing state
// which will trigger errors during attempted audio playback.
// happen during the outro rather than intro.
// In such a scenario, we don't want to play the intro sample, nor attempt to start the intro track
// (that may have already been since disposed by MusicController).
if (DidLoadMenu)
return;