1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00

no longer adjust the clock rate

This commit is contained in:
LeNitrous 2019-03-04 17:48:51 +08:00
parent 86e861ddeb
commit 74a23edaf7

View File

@ -28,6 +28,7 @@ namespace osu.Game.Rulesets.Mods
{
clock = clk;
pitchAdjust = clk as IHasPitchAdjust;
pitchAdjust.PitchAdjust = 1.0 + AppendRate;
}
public virtual void ApplyToBeatmap(Beatmap<T> beatmap)
@ -40,7 +41,6 @@ namespace osu.Game.Rulesets.Mods
{
double newRate = 1 + AppendRate < 1 ? Math.Max(1 + AppendRate, 1 + (AppendRate * (clock.CurrentTime / (lastObjectEndTime * 0.75)))) :
Math.Min(1 + AppendRate, 1 + (AppendRate * (clock.CurrentTime / (lastObjectEndTime * 0.75))));
clock.Rate = newRate;
pitchAdjust.PitchAdjust = newRate;
}
}