mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00: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