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

Fix incorrect variable usage

This commit is contained in:
Dean Herbert
2018-07-23 08:33:47 +02:00
Unverified
parent 8501967b6a
commit 44a2ae5f9a
+1 -1
View File
@@ -139,7 +139,7 @@ namespace osu.Game.Screens.Play
adjustableClock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
adjustableClock.Seek(AllowLeadIn
? Math.Min(0, beatmap.HitObjects.First().StartTime - beatmap.BeatmapInfo.AudioLeadIn)
? Math.Min(0, RulesetContainer.GameplayStartTime - beatmap.BeatmapInfo.AudioLeadIn)
: RulesetContainer.GameplayStartTime);
adjustableClock.ProcessFrame();