1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 18:19:53 +08:00

Remove unnecessary null check and associated comment

This commit is contained in:
Dean Herbert
2022-01-14 23:26:29 +09:00
Unverified
parent 9900a3f408
commit e558fd69d2
@@ -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;