mirror of
https://github.com/ppy/osu
synced 2025-03-02 09:30:57 +00:00
Add inline comment
This commit is contained in:
parent
9a00898c0d
commit
8f4916ad2d
@ -48,6 +48,7 @@ namespace osu.Game.Audio
|
||||
|
||||
track.Started += () => Schedule(() =>
|
||||
{
|
||||
// Assign the new track to current before stopping last track to avoid assigning null to current.
|
||||
var last = current;
|
||||
current = track;
|
||||
last?.Stop();
|
||||
|
Loading…
Reference in New Issue
Block a user