mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 21:10:40 +08:00
Add inline comment
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user