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:
parent
cafe30fc4d
commit
cad18ebc58
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user