mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Proper kiai mode detection.
This commit is contained in:
parent
abe9c464a8
commit
b241140496
@ -30,8 +30,9 @@ namespace osu.Game.Graphics.Containers
|
||||
if (controlPoint == null)
|
||||
return;
|
||||
|
||||
bool kiai = (controlPoint ?? controlPoint).KiaiMode;
|
||||
|
||||
double beatLength = controlPoint.BeatLength;
|
||||
bool kiai = kiaiControlPoint?.KiaiMode ?? false;
|
||||
double timingPointStart = controlPoint.Time;
|
||||
int beat = beatLength > min_beat_length ? (int)((trackCurrentTime - timingPointStart) / beatLength) : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user