mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Remove impossible null case (DummyWorkingBeatmap)
This commit is contained in:
@ -318,12 +318,9 @@ namespace osu.Game.Overlays
|
|||||||
private void changeTrack()
|
private void changeTrack()
|
||||||
{
|
{
|
||||||
CurrentTrack.Expire();
|
CurrentTrack.Expire();
|
||||||
CurrentTrack = new DrawableTrack(new TrackVirtual(1000));
|
CurrentTrack = new DrawableTrack(current.GetTrack());
|
||||||
|
|
||||||
if (current != null)
|
|
||||||
CurrentTrack = new DrawableTrack(current.GetTrack());
|
|
||||||
|
|
||||||
CurrentTrack.Completed += () => onTrackCompleted(current);
|
CurrentTrack.Completed += () => onTrackCompleted(current);
|
||||||
|
|
||||||
AddInternal(CurrentTrack);
|
AddInternal(CurrentTrack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user