1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Add back removed nullcheck

This commit is contained in:
smoogipoo 2020-08-07 21:36:02 +09:00
parent b08ebe6f81
commit 08820c62ec

View File

@ -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);
}); });