mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix nullref due to missing controlPoints.
This commit is contained in:
@ -59,7 +59,7 @@ namespace osu.Game.Modes.Osu.Objects
|
||||
var velocityAdjustment = overridePoint?.VelocityAdjustment ?? 1;
|
||||
var baseVelocity = 100 * baseDifficulty.SliderMultiplier;
|
||||
|
||||
Velocity = baseVelocity / (timingPoint.BeatLength * velocityAdjustment);
|
||||
Velocity = baseVelocity / ((timingPoint?.BeatLength ?? 500) * velocityAdjustment);
|
||||
TickDistance = baseVelocity / (baseDifficulty.SliderTickRate * velocityAdjustment);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user