Merge pull request #2879 from peppy/taiko-barline-regression

Fix taiko barlines appearing too often
This commit is contained in:
Dan Balasescu 2018-06-25 17:24:10 +09:00 committed by GitHub
commit a3079c9303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,9 +69,7 @@ namespace osu.Game.Rulesets.Taiko.UI
bool isMajor = currentBeat % (int)currentPoint.TimeSignature == 0;
Playfield.Add(isMajor ? new DrawableBarLineMajor(barLine) : new DrawableBarLine(barLine));
double bl = currentPoint.BeatLength;
time += bl;
time += currentPoint.BeatLength * (int)currentPoint.TimeSignature;
currentBeat++;
}
}