mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Proper kiai mode detection.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user