mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Replace List<ControlPoint> with TimingInfo in Beatmap.
This commit is contained in:
@ -54,7 +54,7 @@ namespace osu.Game.Modes.Osu.Objects
|
||||
var baseDifficulty = beatmap.BeatmapInfo.BaseDifficulty;
|
||||
|
||||
ControlPoint overridePoint;
|
||||
ControlPoint timingPoint = beatmap.TimingPointAt(StartTime, out overridePoint);
|
||||
ControlPoint timingPoint = beatmap.TimingInfo.TimingPointAt(StartTime, out overridePoint);
|
||||
var velocityAdjustment = overridePoint?.VelocityAdjustment ?? 1;
|
||||
var baseVelocity = 100 * baseDifficulty.SliderMultiplier / velocityAdjustment;
|
||||
|
||||
|
Reference in New Issue
Block a user