mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Add back removed nullcheck
This commit is contained in:
parent
b08ebe6f81
commit
08820c62ec
@ -48,7 +48,7 @@ namespace osu.Game.Audio
|
|||||||
|
|
||||||
track.Started += () => Schedule(() =>
|
track.Started += () => Schedule(() =>
|
||||||
{
|
{
|
||||||
CurrentTrack.Stop();
|
CurrentTrack?.Stop();
|
||||||
CurrentTrack = track;
|
CurrentTrack = track;
|
||||||
audio.Tracks.AddAdjustment(AdjustableProperty.Volume, muteBindable);
|
audio.Tracks.AddAdjustment(AdjustableProperty.Volume, muteBindable);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user