mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09:00
Fix incorrect initial density
This commit is contained in:
parent
da03084251
commit
4d0e4f4ade
@ -116,6 +116,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
|
||||
prevNoteTimes.RemoveAt(0);
|
||||
prevNoteTimes.Add(newNoteTime);
|
||||
|
||||
if (prevNoteTimes.Count >= 2)
|
||||
density = (prevNoteTimes[^1] - prevNoteTimes[0]) / prevNoteTimes.Count;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user