Remove unnecessary null check and associated comment

This commit is contained in:
Dean Herbert
2022-01-14 23:26:29 +09:00
parent 9900a3f408
commit e558fd69d2

View File

@ -12,7 +12,7 @@ namespace osu.Game.Tests.Visual
{
base.Update();
if (Beatmap.Value.TrackLoaded && Beatmap.Value.Track != null) // null check... wasn't required until now?
if (Beatmap.Value.TrackLoaded)
{
// note that this will override any mod rate application
Beatmap.Value.Track.Tempo.Value = Clock.Rate;