1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Fix default timing points being used if "track" is not running

This commit is contained in:
Dean Herbert 2021-07-15 14:37:08 +09:00
parent cab8b94132
commit 5ecf6511e6

View File

@ -100,7 +100,7 @@ namespace osu.Game.Graphics.Containers
beatmap = Beatmap.Value.Beatmap; beatmap = Beatmap.Value.Beatmap;
} }
if (track != null && beatmap != null && track.IsRunning && track.Length > 0) if (track != null && beatmap != null && clock.IsRunning && track.Length > 0)
{ {
currentTrackTime = clock.CurrentTime + EarlyActivationMilliseconds; currentTrackTime = clock.CurrentTime + EarlyActivationMilliseconds;