mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Use RotationAbsolute to calculate spm.
This commit is contained in:
parent
ee8746b848
commit
29f9c8143d
@ -124,9 +124,9 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
||||
rotationFrom = rotations.Dequeue();
|
||||
timeFrom = times.Dequeue();
|
||||
}
|
||||
SpinsPerMinute = (currentRotation - rotationFrom) / (Time.Current - timeFrom) * 1000 * 60 / 360;
|
||||
SpinsPerMinute = (RotationAbsolute - rotationFrom) / (Time.Current - timeFrom) * 1000 * 60 / 360;
|
||||
}
|
||||
rotations.Enqueue(currentRotation);
|
||||
rotations.Enqueue(RotationAbsolute);
|
||||
times.Enqueue(Time.Current);
|
||||
|
||||
if (Complete && updateCompleteTick())
|
||||
|
Loading…
Reference in New Issue
Block a user