mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Ensure CurrentTrack is never null
This commit is contained in:
@ -16,10 +16,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
// note that this will override any mod rate application
|
||||
if (MusicController.TrackLoaded)
|
||||
{
|
||||
Debug.Assert(MusicController.CurrentTrack != null);
|
||||
MusicController.CurrentTrack.Tempo.Value = Clock.Rate;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user