mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Fix off-by-one starting bar
This commit is contained in:
parent
3e0fda58ea
commit
c883c97bab
@ -76,7 +76,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes);
|
||||
|
||||
if (beatIndex < firstBeat || !firstBeat.HasValue)
|
||||
firstBeat = Math.Max(0, beatIndex / 16 * 16);
|
||||
firstBeat = Math.Max(0, (beatIndex / 16 + 1) * 16);
|
||||
|
||||
if (beatIndex > firstBeat)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user