mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Possible null reference exception
This commit is contained in:
parent
067b572245
commit
9bdf462dd1
@ -185,9 +185,9 @@ namespace osu.Game.Overlays
|
||||
return;
|
||||
}
|
||||
if (current?.Track?.IsRunning ?? false)
|
||||
current.Track.Stop();
|
||||
current?.Track?.Stop();
|
||||
else
|
||||
current.Track.Start();
|
||||
current?.Track?.Start();
|
||||
},
|
||||
Icon = FontAwesome.fa_play_circle_o,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user