mirror of
https://github.com/ppy/osu.git
synced 2026-06-05 03:45:09 +08:00
Fix off-by-one starting bar
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user