mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Fix up VelocityAdjustment value.
This commit is contained in:
parent
fa22bb9211
commit
4a85b899c9
@ -13,10 +13,12 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
{
|
||||
internal class TaikoBeatmapConverter : IBeatmapConverter<TaikoHitObject>
|
||||
{
|
||||
private const float legacy_velocity_scale = 1.4f;
|
||||
|
||||
public Beatmap<TaikoHitObject> Convert(Beatmap original)
|
||||
{
|
||||
if (original is IIsLegacy)
|
||||
original.TimingInfo.ControlPoints.ForEach(c => c.VelocityAdjustment *= 1.4);
|
||||
original.TimingInfo.ControlPoints.ForEach(c => c.VelocityAdjustment /= legacy_velocity_scale);
|
||||
|
||||
return new Beatmap<TaikoHitObject>(original)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user