mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Possible null reference exception
This commit is contained in:
@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user