1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:03:22 +08:00

fix speed

* Original /40 is due to documentation error.

Co-Authored-By: clayton <me@clayton.cc>
This commit is contained in:
杜Nate 2020-02-16 17:50:52 +08:00 committed by GitHub
parent 686040d8ad
commit b6378c7ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Osu.Mods
if (drawable is DrawableSpinner spinner)
{
if (spinner.Disc.Valid)
spinner.Disc.Rotate(180 / MathF.PI * (float)spinner.Clock.ElapsedFrameTime / 40);
spinner.Disc.Rotate(180 / MathF.PI * (float)spinner.Clock.ElapsedFrameTime * 0.03f);
if (!spinner.SpmCounter.IsPresent)
spinner.SpmCounter.FadeIn(spinner.HitObject.TimeFadeIn);
}