mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
no longer adjust the clock rate
This commit is contained in:
parent
86e861ddeb
commit
74a23edaf7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user